Skip to content

Commit

Permalink
Test Action
Browse files Browse the repository at this point in the history
  • Loading branch information
zstg authored May 1, 2024
1 parent 4d1a93c commit aa2086e
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,28 @@ on:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://archlinux
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://archlinux

steps:
- name: Checkout repository using git
# uses: actions/checkout@v2
run: |
pacman -Sy git sudo archiso --noconfirm
git clone --recurse-submodules https://github.com/zstg/StratOS-iso
steps:
- name: Checkout repository using git
run: |
pacman -Sy git sudo archiso --noconfirm
git clone --recurse-submodules https://github.com/zstg/StratOS-iso
- name: Build ISO
id: build_iso
run: |
export BUILD_DATE=$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)
sudo ./build.sh # admin perms required to mount /proc
echo "::set-output name=date::${BUILD_DATE}"
- name: Build ISO
id: build_iso
run: |
export BUILD_DATE=$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)
sudo ./build.sh # admin perms required to mount /proc
echo "::set-output name=date::${BUILD_DATE}"
- name: Upload
uses: ncipollo/release-action@v1
with:
artifacts: "output/*.iso"
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.build.outputs.date }}
- name: Upload
uses: ncipollo/release-action@v1
with:
artifacts: "output/*.iso"
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.build.outputs.date }}

0 comments on commit aa2086e

Please sign in to comment.