diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e55b92..571964e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,13 +39,14 @@ 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 @@ -55,7 +56,7 @@ jobs: with: prerelease: true files: | - artifacts/xgenext2fs_amd64.deb - artifacts/xgenext2fs_arm64.deb + artifacts_amd64/xgenext2fs_amd64.deb + artifacts_arm64/xgenext2fs_arm64.deb env: GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}