Skip to content

Commit

Permalink
chore: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolitzer committed Apr 11, 2024
1 parent 6383a27 commit 4216bfd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,27 @@ 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: ls
run: ls . artifacts artifacts_amd64 artifacts_arm64;

- name: Release
uses: softprops/action-gh-release@v2
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 }}

0 comments on commit 4216bfd

Please sign in to comment.