Skip to content

Commit 93d7b07

Browse files
Update build.yml
1 parent 272b566 commit 93d7b07

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ jobs:
5858
id: create_release # Store the release details for later steps
5959
uses: actions/[email protected]
6060
env:
61-
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
61+
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Use your PAT here
6262
with:
63-
tag_name: v${{ github.event.inputs.date || github.run_number }}-release
64-
release_name: Arch Linux ISO Release ${{ github.event.inputs.date || github.run_number }}
63+
tag_name: v${{ steps.date.outputs.date || github.run_number }}-release
64+
release_name: ${{ steps.date.outputs.date }} # Current date as release title
6565
body: |
6666
This release contains the Arch Linux ISO built on ${{ steps.date.outputs.date }}.
6767
draft: false
@@ -71,14 +71,14 @@ jobs:
7171
- name: Upload ISO to GitHub Release
7272
uses: actions/upload-release-asset@v1
7373
env:
74-
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
74+
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Use your PAT here
7575
with:
7676
upload_url: ${{ steps.create_release.outputs.upload_url }}
77-
asset_path: ${{ github.workspace }}/Arch.iso
78-
asset_name: Arch-ISO-${{ steps.date.outputs.date }}.iso
77+
asset_path: ${{ github.workspace }}/Arch.iso # Keep ISO name as Arch.iso
78+
asset_name: Arch.iso # Set asset name to Arch.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)