Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
theCode-Breaker authored Sep 7, 2024
1 parent bcf3631 commit 0dfd794
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
options: --privileged

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set current date as environment variable
run: echo "DATE=$(date +'%Y.%m.%d')" >>$GITHUB_ENV
Expand All @@ -33,7 +33,7 @@ jobs:
run: bash build-iso

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.dev == 'true' }}
with:
name: Arch Linux ${{ env.DATE }}
Expand All @@ -42,7 +42,7 @@ jobs:
CHECKSUMS.txt
- name: Create tag and release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v2
if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.dev == 'false') }}
with:
name: Arch Linux ${{ env.DATE }}
Expand All @@ -51,3 +51,4 @@ jobs:
files: |
archlinux-${{ env.DATE }}-x86_64.iso
CHECKSUMS.txt

0 comments on commit 0dfd794

Please sign in to comment.