Skip to content

Commit b7618be

Browse files
Update build.yml
1 parent b635da9 commit b7618be

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,19 @@ jobs:
5353
id: date
5454
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
5555

56-
# Create a release on GitHub using Personal Access Token (PAT)
57-
- name: Create GitHub Release
58-
id: create_release # Store the release details for later steps
59-
uses: actions/[email protected]
56+
# Create a release on GitHub using Personal Access Token (PAT) - name: Create GitHub Release
57+
- uses: actions/[email protected]
6058
env:
61-
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Use your PAT here
59+
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
6260
with:
63-
tag_name: v${{ steps.date.outputs.date || github.run_number }}-release
64-
release_name: ${{ steps.date.outputs.date }} # Current date as release title
61+
tag_name: v${{ github.run_id }}-release
62+
release_name: "Arch Linux Release"
6563
body: |
66-
This release contains the Arch Linux ISO built on ${{ steps.date.outputs.date }}.
64+
This release contains the Arch Linux ISO built on ${{ github.run_id }}.
6765
draft: false
6866
prerelease: false
6967

68+
7069
# Upload the ISO to the GitHub release with a specific, predictable name
7170
- name: Upload ISO to GitHub Release
7271
uses: actions/upload-release-asset@v1

0 commit comments

Comments
 (0)