Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,15 @@ jobs:
run: |
docker cp arch-container:/workdir/out/Arch.iso ${{ github.workspace }}/ || echo 'Failed to copy ISO to host.'

- name: Upload ISO Artifact
uses: actions/upload-artifact@v3
with:
name: Arch.iso
path: ${{ github.workspace }}/Arch.iso

- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
run: echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

# Create a release on GitHub using GITHUB_TOKEN
- name: Create GitHub Release
Expand All @@ -54,10 +60,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_id }}-release
tag_name: "v${{ github.run_id }}-release"
release_name: "Arch Linux Release"
body: |
This release contains the Arch Linux ISO built on ${{ steps.date.outputs.date }}.
This release contains the Arch Linux ISO built on ${{ env.DATE }}.
draft: false
prerelease: false

Expand Down
Loading