Skip to content

Commit

Permalink
set variable to sanitized stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Oct 26, 2023
1 parent f8dffce commit bbda318
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/build-katsu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,17 @@ jobs:
xz -z9 katsu-work/image/katsu.img -c > katsu-work/image/katsu-arm.img.xz
popd
- name: sanitize artifact name
run: |
name=$(echo ${{ matrix.variant }} | sed 's/\//-/g')
# set github variable
echo artifact=$name >> $GITHUB_ENV
- name: Upload ISO
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.variant }}-disk
name: ${{ env.artifact }}-disk
path: katsu/katsu-work/image/*.img.xz


Expand Down Expand Up @@ -131,8 +138,15 @@ jobs:
katsu --output=iso modules/${{ matrix.variant }}.yaml
popd
- name: sanitize artifact name
run: |
name=$(echo ${{ matrix.variant }} | sed 's/\//-/g')
# set github variable
echo artifact=$name >> $GITHUB_ENV
- name: Upload ISO
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.variant }}-live
name: ${{ env.artifact }}-live
path: katsu/out.iso

0 comments on commit bbda318

Please sign in to comment.