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 }}