Skip to content

Build DevuanWSL

Build DevuanWSL #19

Workflow file for this run

name: Build DevuanWSL
permissions:
contents: write
on:
push:
branches: [main]
paths: [Makefile] # trigger only on Makefile change
workflow_dispatch:
schedule:
# trigger on the 1st day of every month at 12:00 UTC
- cron: 0 12 1 * *
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v5
with:
ref: main
persist-credentials: false
fetch-depth: 0 # required to push refs
- name: build
run: |
mkdir -p release
sudo apt install -y curl libarchive-tools jq tar unzip
sudo make
sudo make clean
mv Devuan.zip* release/
- name: upload as artifact
uses: actions/upload-artifact@v4
with:
retention-days: 90
path: release/*
- name: upload as release
run: gh release upload "${TAG}" --clobber release/Devuan.zip*
env:
GH_TOKEN: ${{ github.token }}
TAG: action-build