From 5b34a4b656ed9fe815e51ee35cb08743faeb2574 Mon Sep 17 00:00:00 2001 From: Marcelo Politzer <251334+mpolitzer@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:42:40 -0300 Subject: [PATCH] chore: update github actions --- .github/workflows/main.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e55b92..e40f975 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,23 +39,24 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: xgenext2fs_${{ matrix.arch }}.deb + if-no-files-found: error + name: artifacts_${{ matrix.arch }} path: artifacts/xgenext2fs_${{ matrix.arch }}.deb release: needs: [build] runs-on: ubuntu-22.04 - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') steps: - name: Download artifacts uses: actions/download-artifact@v4 - - name: Release - uses: softprops/action-gh-release@v2 - with: - prerelease: true - files: | - artifacts/xgenext2fs_amd64.deb - artifacts/xgenext2fs_arm64.deb - env: - GITHUB_TOKEN: ${{ secrets.CI_TOKEN }} + - name: Release + uses: softprops/action-gh-release@v2 + with: + prerelease: true + files: | + artifacts/xgenext2fs_amd64.deb + artifacts/xgenext2fs_arm64.deb + env: + GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}