You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
794 B
YAML
32 lines
794 B
YAML
3 years ago
|
name: build
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }}
|
||
|
container:
|
||
|
image: archlinux:base-devel
|
||
|
options: --privileged
|
||
|
|
||
|
steps:
|
||
|
- name: Build
|
||
|
run: |
|
||
|
pacman -Syu --needed --noconfirm && pacman -S git --needed --noconfirm && git clone https://github.com/Stealth1226/iso/ && cd iso && bash deps.sh && bash build_iso.sh
|
||
|
|
||
|
- name: Get current date
|
||
|
id: date
|
||
|
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
|
||
|
|
||
|
- name: Upload
|
||
|
uses: ncipollo/release-action@v1
|
||
|
with:
|
||
|
artifacts: "iso/*.iso"
|
||
|
token: ${{ secrets.SECRET_TOKEN }}
|
||
|
tag: ${{ steps.date.outputs.date }}
|
||
|
|
||
|
|