diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/windows.yml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 290be340e..fca466899 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -88,21 +88,6 @@ jobs: ./nsis/makensis.exe /DMAJOR=$($version.ProductMajorPart) /DMINOR=$($version.ProductMinorPart) /DALTER=$($version.ProductBuildPart) /DBUILD=$($($version.ProductVersion -split '\+')[1]) /D${{ matrix.arch }} .\scripts\installer.nsi (New-Item ./artifacts/${{env.RELEASE_NAME}} -ItemType Directory).FullName Copy-Item scripts/xmake.exe ./artifacts/${{env.RELEASE_NAME}}/xmake.exe - # build installer for tinyc - if ("${{ matrix.arch }}" -eq "x64"){ - Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27-win64-bin.zip" -UseBasicParsing -OutFile .\tcc.zip - } else { - Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27-win32-bin.zip" -UseBasicParsing -OutFile .\tcc.zip - } - Expand-Archive ./tcc.zip -DestinationPath ./tcc - Copy-Item ./tcc/tcc ./winenv/tcc -Recurse - Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip" -UseBasicParsing -OutFile .\winapi.zip - Expand-Archive ./winapi.zip -DestinationPath ./winapi - Copy-Item ./winapi/winapi-full-for-0.9.27 ./winenv/tcc/winapi -Recurse - ./nsis/makensis.exe /DMAJOR=$($version.ProductMajorPart) /DMINOR=$($version.ProductMinorPart) /DALTER=$($version.ProductBuildPart) /DBUILD=$($($version.ProductVersion -split '\+')[1]) /D${{ matrix.arch }} .\scripts\installer.nsi - Copy-Item scripts/xmake.exe ./artifacts/${{env.RELEASE_NAME}}/xmake-tinyc.exe - Remove-Item ./winenv/tcc -Recurse - Remove-Item ./scripts/xmake.exe # archive Copy-Item ./*.md ./xmake Copy-Item ./winenv ./xmake -Recurse @@ -129,10 +114,6 @@ jobs: path: artifacts/${{env.RELEASE_NAME}}/xmake.exe - uses: actions/upload-artifact@v2 with: - name: xmake-tinyc-latest.${{env.RELEASE_NAME}}.exe - path: artifacts/${{env.RELEASE_NAME}}/xmake-tinyc.exe - - uses: actions/upload-artifact@v2 - with: name: xmake-latest.${{ env.RELEASE_NAME }}.zip path: artifacts/${{env.RELEASE_NAME}}/archive.zip - uses: actions/upload-artifact@v2 @@ -177,17 +158,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: artifacts/${{env.RELEASE_NAME}}/xmake-tinyc.exe - asset_name: xmake-tinyc-${{ steps.tagName.outputs.tag }}.${{ env.RELEASE_NAME }}.exe - asset_content_type: application/zip - - - name: publish - if: github.event.action == 'published' - uses: actions/[email protected] - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} asset_path: artifacts/${{env.RELEASE_NAME}}/archive.zip asset_name: xmake-${{ steps.tagName.outputs.tag }}.${{ env.RELEASE_NAME }}.zip asset_content_type: application/zip |
