Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Merge branch 'template' into live
Browse files Browse the repository at this point in the history
* template:
  build(deps): bump mikefarah/yq from 4.40.3 to 4.40.4 (blue-build#201)
  Fix: release-iso.yml to not fail if no images are returned (blue-build#202)
  build(deps): bump mikefarah/yq from 4.40.2 to 4.40.3 (blue-build#200)
  fix: typo (blue-build#199)
  • Loading branch information
tunix committed Dec 10, 2023
2 parents d68a7ce + 9aa7bb2 commit 1b4e097
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow builds every branch of the repository daily at 16:30 UTC, one hour after ublue-os/nvidia builds.
# The images are also built after pushuing changes or pull requests.
# The images are also built after pushing changes or pull requests.
# The builds can also be triggered manually in the Actions tab thanks to workflow dispatch.
# Only the branch called `live` is published.

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
uses: ublue-os/just-action@v1

- name: Add yq (for reading recipe.yml)
uses: mikefarah/[email protected].2
uses: mikefarah/[email protected].4

- name: Gather image data from recipe
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
if gh release list -R ${{ github.repository_owner }}/${{ github.event.repository.name }} | grep "auto-iso"; then
gh release view auto-iso -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --json assets -q .assets[].name | xargs -L 1 gh release delete-asset auto-iso -R ${{ github.repository_owner }}/${{ github.event.repository.name }}
gh release view auto-iso -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --json assets -q .assets[].name | xargs --no-run-if-empty -L 1 gh release delete-asset auto-iso -R ${{ github.repository_owner }}/${{ github.event.repository.name }}
gh release upload auto-iso ${{ steps.isogenerator.outputs.iso-path }} -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --clobber
else
gh release create auto-iso ${{ steps.isogenerator.outputs.iso-path }} -t ISO -n "This is an automatically generated ISO release." -R ${{ github.repository_owner }}/${{ github.event.repository.name }}
Expand Down

0 comments on commit 1b4e097

Please sign in to comment.