Skip to content

Commit 71046ae

Browse files
committed
Fix sha256sum & b2sum
1 parent f428911 commit 71046ae

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/archiso.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,21 @@ jobs:
4141
run: |
4242
outDir=archiso-apfs/out
4343
isoPath=$(find $outDir -type f)
44+
isoName=$(basename $isoPath)
4445
echo "filePath=$isoPath" >> $GITHUB_ENV
45-
echo "fileName=$(basename $isoPath)" >> $GITHUB_ENV
46+
echo "fileName=$isoName" >> $GITHUB_ENV
4647
echo "fileTag=$(date +'%Y.%m.%d')" >> $GITHUB_ENV
4748
cd $outDir
48-
sha256sum $fileName > sha256sum.txt
49-
b2sum $fileName > b2sum.txt
49+
sha256sum $isoName > sha256sum.txt
50+
b2sum $isoName > b2sum.txt
5051
5152
- name: Release ArchISO
5253
uses: softprops/action-gh-release@v1
5354
with:
5455
files: |
5556
${{ env.filePath }}
56-
sha256sum.txt
57-
b2sum.txt
57+
archiso-apfs/out/sha256sum.txt
58+
archiso-apfs/out/b2sum.txt
5859
5960
name: ${{ env.fileName }}
6061
tag_name: ${{ env.fileTag }}

0 commit comments

Comments
 (0)