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 06bf4d2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: xgenext2fs_${{ matrix.arch }}.deb
name: artifacts
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 }}

0 comments on commit 06bf4d2

Please sign in to comment.