Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 20, 2024
1 parent d87f8f6 commit d791ca1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ jobs:
build:
runs-on: ubuntu-latest

env:
iso_date: ${{ format(github.event.created_at, '%Y%m%d') }}

steps:
- name: Get current date
id: date
run: echo "::set-output name=iso_date::$(date +'%Y%m%d')"

- name: Checkout repository
uses: actions/checkout@v2
with:
Expand All @@ -34,5 +35,5 @@ jobs:
- name: Archive ISO
uses: actions/upload-artifact@v2
with:
name: Paradox-Public-${{ env.iso_date }}.iso
name: Paradox-Public-${{ steps.date.outputs.iso_date }}.iso
path: image.iso

0 comments on commit d791ca1

Please sign in to comment.