Skip to content

Prepare release 3.0.0 #59

Prepare release 3.0.0

Prepare release 3.0.0 #59

Workflow file for this run

---
name: Build ArchLinux zfs iso with LTS-Kernel and DKMS Package
on:
schedule: # arch relases are published first day of the month
- cron: '50 23 1 * *'
workflow_dispatch:
pull_request:
types:
- closed
push:
jobs:
iso_lts_dkms:
if: ${{ github.event.pull_request.merged == true ||
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' ||
github.event.repository.default_branch }}
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:latest
options: --privileged
steps:
- name: Set timestamp tag
id: timetag
run: echo "timestamp=$(date +'%Y%m%d')" >> "$GITHUB_ENV"
- name: Check out codebase
uses: actions/checkout@v4
- name: Install requirements
run: |
pacman -Sy
pacman -S --noconfirm archlinux-keyring archiso git
pacman-key --init
pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76
pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76
- name: Prepare env
run: |
echo -e 'ASK_TO_DUMP_ISO=0
ASK_TO_RUN_ISO=0
ASK_TO_UPLOAD_ISO=0
IS_FORCED=1
KERNEL="linux-lts"
USE_DKMS=1' > .env
- name: Build lts dkms iso
run: |
chmod +x ./*.sh
ls
bash ./build.sh --verbose
- name: Upload a release
uses: softprops/action-gh-release@v1
with:
name: archlinux-archzfs-linux-lts-dkms-${{ env.timestamp }}
tag_name: ${{ env.timestamp }}
prerelease: ${{ github.event_name != 'schedule' }}
files: |
dynamic_data/out/*