Update workflows
This commit is contained in:
parent
2fa45fa5ed
commit
e9e80a7b96
3 changed files with 51 additions and 8 deletions
|
@ -1,9 +1,10 @@
|
||||||
name: build-console-iso
|
name: build-console-iso
|
||||||
run-name: ${{ github.actor }} - build-console-iso
|
run-name: ${{ github.actor }} - build-console-iso
|
||||||
#on:
|
on:
|
||||||
# push:
|
schedule:
|
||||||
# branches:
|
- cron: '0 2 1,15 * *'
|
||||||
# - main
|
# “At 02:00 on day-of-month 1 and 15.”
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-console-iso:
|
build-console-iso:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
name: build-desktop-iso
|
name: build-desktop-iso
|
||||||
run-name: ${{ github.actor }} - build-desktop-iso
|
run-name: ${{ github.actor }} - build-desktop-iso
|
||||||
#on:
|
on:
|
||||||
# push:
|
schedule:
|
||||||
# branches:
|
- cron: '0 0 1,15 * *'
|
||||||
# - main
|
# “At 00:00 on day-of-month 1 and 15.”
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-desktop-iso:
|
build-desktop-iso:
|
||||||
|
|
42
.forgejo/workflows/build-linode-img.yml
Normal file
42
.forgejo/workflows/build-linode-img.yml
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
name: build-linode-img
|
||||||
|
run-name: ${{ github.actor }} - build-linode-img
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 4 1,15 * *'
|
||||||
|
# “At 02:00 on day-of-month 1 and 15.”
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-linode-img:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: alpine:edge
|
||||||
|
steps:
|
||||||
|
- name: "Setup Runner"
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add git nodejs nix --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: "Directory Structure"
|
||||||
|
run: |
|
||||||
|
ls ${{ github.workspace }}/*
|
||||||
|
- name: "Runner: Node Info"
|
||||||
|
run: |
|
||||||
|
id
|
||||||
|
uname -a
|
||||||
|
hostname
|
||||||
|
cat /etc/os-release
|
||||||
|
- name: "Nix Version"
|
||||||
|
run: |
|
||||||
|
nix --version
|
||||||
|
- name: "Nix build"
|
||||||
|
run: |
|
||||||
|
echo "Running Nix Build"
|
||||||
|
nix --extra-experimental-features "nix-command flakes" \
|
||||||
|
build ${{ github.workspace }}/#imageConfigurations.nixos-linode-img
|
||||||
|
echo "Results:"
|
||||||
|
ls -lah result/*
|
||||||
|
|
||||||
|
- if: always()
|
||||||
|
run: rm -rf /.cache
|
||||||
|
- if: always()
|
||||||
|
run: rm -rf ${{ github.worksspace }}
|
Loading…
Reference in a new issue