From: Vincent Fu Date: Tue, 25 Apr 2023 18:22:26 +0000 (+0000) Subject: ci: upload tagged GitHub Actions Windows installers as releases X-Git-Tag: fio-3.36~108 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=954b86f71b0718943796192be1a89ffb0da5a97c;p=fio.git ci: upload tagged GitHub Actions Windows installers as releases Since we are no long using AppVeyor for Windows tests, we can use the installers built by GitHub Actions for Windows releases. Signed-off-by: Vincent Fu --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd2997f0..69fedf77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,12 +108,17 @@ jobs: dobuild.cmd ${{ matrix.installer_arch }} cd ..\.. - - name: Upload installer (Windows) + - name: Upload installer as artifact (Windows) if: ${{ contains( matrix.build, 'windows' ) }} uses: actions/upload-artifact@v3 with: name: ${{ matrix.build }}-installer path: os\windows\*.msi + - name: Upload installer as release for tagged builds (Windows) + uses: softprops/action-gh-release@v1 + if: ${{ startsWith(github.ref, 'refs/tags/') && startsWith(matrix.build, 'windows-cygwin') }} + with: + files: os/windows/*.msi - name: Remove dependency files to resolve Makefile Cygwin sed issue (Windows) if: ${{ startsWith(matrix.build, 'windows-cygwin') }} run: rm *.d */*.d */*/*.d