]> Nishi Git Mirror - dataworks.git/commitdiff
attempt 5
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Wed, 12 Jun 2024 07:04:56 +0000 (07:04 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Wed, 12 Jun 2024 07:04:56 +0000 (07:04 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@271 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

.github/workflows/build.yml

index a6ed650ca326fd1a2060fd4912f428cb2e15fd50..2fd611969f5c009b46cfe61ee0026e263e10e855 100644 (file)
@@ -71,23 +71,13 @@ jobs:
       run: make YACC=byacc PLATFORM=dos4g -j3 archive
     - name: Rename to -dos4g
       run: mv dataworks.zip dataworks-dos4g.zip && mv dataworks.tar.gz dataworks-dos4g.tar.gz && mv Client/dataworks.exe dataworks-dos4g.exe && mv Server/dataworks_server.exe dataworks-server-dos4g.exe
+    - name: Create artifact
+      run: zip -rv build-generic.zip dataworks-*.tar.gz dataworks-*.zip dataworks-server-win32.exe dataworks-server-win64.exe dataworks-server-dos.exe dataworks-server-dos4g.exe dataworks-win32.exe dataworks-win64.exe dataworks-dos.exe dataworks-dos4g.exe dataworks-linux64 dataworks-server-linux64
     - name: Upload artifact
       uses: actions/upload-artifact@v4
       with:
         name: build-generic
-        path: |
-          dataworks-*.tar.gz
-          dataworks-*.zip
-          dataworks-server-win32.exe
-          dataworks-server-win64.exe
-          dataworks-server-dos.exe
-          dataworks-server-dos4g.exe
-          dataworks-win32.exe
-          dataworks-win64.exe
-          dataworks-dos.exe
-          dataworks-dos4g.exe
-          dataworks-linux64
-          dataworks-server-linux64
+        path: build-generic.zip
     - name: Kill apt-get
       run: sudo killall apt-get || true
   build-mac:
@@ -108,15 +98,13 @@ jobs:
       run: make -j3 YACC=byacc archive
     - name: Rename
       run: mv dataworks.tar.gz dataworks-macos-arm64.tar.gz && mv dataworks.zip dataworks-macos-arm64.zip && mv Client/dataworks dataworks-macos-arm64 && mv Server/dataworks_server dataworks-server-macos-arm64
+    - name: Create artifact
+      run: zip -rv build-macos.zip dataworks-*.tar.gz dataworks-*.zip dataworks-server-macos-arm64 dataworks-macos-arm64
     - name: Upload artifact
       uses: actions/upload-artifact@v4
       with:
         name: build-macos
-        path: |
-          dataworks-*.tar.gz
-          dataworks-*.zip
-          dataworks-server-macos-arm64
-          dataworks-macos-arm64
+       path: build-macos.zip
 
   release: