Skip to content

Commit 272b566

Browse files
Update build.yml
1 parent 52fd262 commit 272b566

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
mkarchiso -v -w workdir/ -o out/ .
3232
"
3333
34-
- name: Rename ISO to Arch
34+
- name: Rename ISO to Arch.iso
3535
run: |
3636
docker exec arch-container bash -c "
3737
# Find the created ISO (assuming only one .iso file in the output directory)
@@ -67,18 +67,18 @@ jobs:
6767
draft: false
6868
prerelease: false
6969

70-
# Upload the ISO to the GitHub release
70+
# Upload the ISO to the GitHub release with a specific, predictable name
7171
- name: Upload ISO to GitHub Release
7272
uses: actions/upload-release-asset@v1
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
7575
with:
7676
upload_url: ${{ steps.create_release.outputs.upload_url }}
7777
asset_path: ${{ github.workspace }}/Arch.iso
78-
asset_name: Arch-$(date +'%Y-%m-%d').iso
78+
asset_name: Arch-ISO-${{ steps.date.outputs.date }}.iso
7979
asset_content_type: application/octet-stream
8080

8181
- name: Clean Up
8282
run: |
8383
docker stop arch-container
84-
docker rm arch-container
84+
docker rm arch-container

0 commit comments

Comments
 (0)