Skip to content

Commit

Permalink
ci: simplify release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
LoricAndre committed Dec 1, 2024
1 parent a4ffca7 commit a4bad87
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,26 +116,8 @@ jobs:
- name: Create archive
run: |
tar -C target/*/release/ -czvf "skim-${{ matrix.arch }}-${{ matrix.os }}${{ contains(matrix.arch, 'arm') && 'eabi' || '' }}.tgz" "${{ env.BIN_NAME }}"
- name: Store artifact
uses: actions/upload-artifact@v4
with:
name: binary-${{ matrix.arch }}-${{ matrix.os }}
path: "skim-*.tgz"
retention-days: 1
release-artifacts:
permissions:
contents: write
runs-on: ubuntu-22.04
needs:
- build
steps:
- uses: actions/download-artifact@v4
with:
path: artifacts
pattern: "*"
merge-multiple: true
- name: Upload Release Artifact
- name: Upload binary
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ steps.release.outputs.tag_name }} ./artifacts/*.tgz
gh release upload "skim-${{ matrix.arch }}-${{ matrix.os }}${{ contains(matrix.arch, 'arm') && 'eabi' || '' }}.tgz" ./artifacts/*.tgz

0 comments on commit a4bad87

Please sign in to comment.