From 3438a5e2bb0b3e69eb480f368af9ad81b8352b95 Mon Sep 17 00:00:00 2001 From: nishi Date: Mon, 10 Jun 2024 05:18:44 +0000 Subject: [PATCH] add executables git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@234 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ada9aee..1c8dbf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,33 +39,33 @@ jobs: - name: Make for linux64 run: make YACC=byacc -j3 archive - name: Rename to -linux64 - run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz + run: mv dataworks.zip dataworks-linux64.zip && mv dataworks.tar.gz dataworks-linux64.tar.gz && mv Client/dataworks.exe dataworks-linux64 && mv Server/dataworks_server.exe dataworks-server-linux64 - name: Make sure it is clean (win32) run: make clean PLATFORM=win32 - name: Make for win32 run: make YACC=byacc PLATFORM=win32 -j3 archive - name: Rename to -win32 - run: mv dataworks.zip dataworks-win32.zip && mv dataworks.tar.gz dataworks-win32.tar.gz + run: mv dataworks.zip dataworks-win32.zip && mv dataworks.tar.gz dataworks-win32.tar.gz && mv Client/dataworks.exe dataworks-win32.exe && mv Server/dataworks_server.exe dataworks-server-win32.exe - name: Make sure it is clean (win64) run: make clean PLATFORM=win64 - name: Make for win64 run: make YACC=byacc PLATFORM=win64 -j3 archive - name: Rename to -win64 - run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz + run: mv dataworks.zip dataworks-win64.zip && mv dataworks.tar.gz dataworks-win64.tar.gz && mv Client/dataworks.exe dataworks-win64.exe && mv Server/dataworks_server.exe dataworks-server-win64.exe - name: Make sure it is clean (dos) run: make clean PLATFORM=dos - name: Make for DOS run: make YACC=byacc PLATFORM=dos -j3 archive - name: Rename to -dos - run: mv dataworks.zip dataworks-dos.zip && mv dataworks.tar.gz dataworks-dos.tar.gz + run: mv dataworks.zip dataworks-dos.zip && mv dataworks.tar.gz dataworks-dos.tar.gz && mv Client/dataworks.exe dataworks-dos.exe && mv Server/dataworks_server.exe dataworks-server-dos.exe - name: Make sure it is clean (dos4g) run: make clean PLATFORM=dos4g - name: Make for DOS/4GW 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 + 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: Release - run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" "$(date +%Y%m%d%H%M%S)" dataworks-linux64.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-dos.{tar.gz,zip} dataworks-win64.{tar.gz,zip} -n "Version \`$(make get-version)\` was built in this release" + run: gh release create -t "Release $(date +"%a %b %e %H:%M:%S %Z %Y")" "$(date +%Y%m%d%H%M%S)" dataworks-linux64.{tar.gz,zip} dataworks-win32.{tar.gz,zip} dataworks-dos4g.{tar.gz,zip} dataworks-dos.{tar.gz,zip} dataworks-win64.{tar.gz,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 -n "Version \`$(make get-version)\` was built in this release" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Kill apt-get -- 2.43.0