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 77e889d commit d87f8f6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
build:
runs-on: ubuntu-latest

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

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -23,13 +26,13 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y make tar xorriso binutils
sudo apt-get install -y make tar xorriso binutils nasm
- name: Run build script
run: ./tools/build.sh

- name: Archive ISO
uses: actions/upload-artifact@v2
with:
name: Paradox-Public-$(date +'%Y%m%d').iso
name: Paradox-Public-${{ env.iso_date }}.iso
path: image.iso

0 comments on commit d87f8f6

Please sign in to comment.