Skip to content

Commit

Permalink
feat: use tagged release for isogenerator (ublue-os#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
akdev1l authored Apr 18, 2023
1 parent 4968d34 commit f7d05b4
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
name: release-please
jobs:
release-please:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release-please.outputs.releases_created }}
Expand All @@ -25,10 +28,12 @@ jobs:
container:
image: fedora:38
options: --privileged
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Generate ISO
uses: ublue-os/isogenerator@main
uses: ublue-os/isogenerator@v1.0.5
id: isogenerator
with:
image-name: universalblue
Expand All @@ -42,11 +47,19 @@ jobs:
- name: Upload ISO
env:
GITHUB_TOKEN: ${{ github.token }}
run:
gh release upload ${{ needs.release-please.outputs.tag }} ${{ steps.isogenerator.outputs.iso-path }} -R ublue-os/main --clobber
run: |
gh release upload \
${{ needs.release-please.outputs.tag }} \
./${{ steps.isogenerator.outputs.iso-path }} \
--repo ${{ github.repository_owner }}/${{ github.event.repository.name }} \
--clobber
- name: Upload SHA256SUM
env:
GITHUB_TOKEN: ${{ github.token }}
run:
gh release upload ${{ needs.release-please.outputs.tag }} ${{ steps.isogenerator.outputs.sha256sum-path }} -R ublue-os/main --clobber

run: |
gh release upload \
${{ needs.release-please.outputs.tag }} \
./${{ steps.isogenerator.outputs.sha256sum-path }} \
--repo ${{ github.repository_owner }}/${{ github.event.repository.name }} \
--clobber

0 comments on commit f7d05b4

Please sign in to comment.