Skip to content

iso_build

iso_build #1101

Workflow file for this run

name: iso_build
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
jobs:
prepare-release:
runs-on: ubuntu-20.04
steps:
- uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- id: time
uses: nanzm/get-time-action@v1.1
with:
format: 'YYYYMMDDHHmm'
outputs:
release_tag: ${{ steps.time.outputs.time }}
release:
runs-on: ubuntu-20.04
needs: prepare-release
strategy:
matrix:
##### EDIT ME #####
EDITION: [kde-dev]
BRANCH: [unstable]
SCOPE: [full]
###################
steps:
- uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- id: image-build
uses: manjaro/manjaro-iso-action@feat/custom-repos
with:
edition: ${{ matrix.edition }}
branch: ${{ matrix.branch }}
scope: ${{ matrix.scope }}
version: "22.0"
kernel: linux61
code-name: "Sikaris"
custom-repo: "kde-unstable"
build-mirror: ${{ secrets.BUILD_MIRROR }}
release-tag: ${{ needs.prepare-release.outputs.release_tag }}
- name: rollback
if: ${{ failure() || cancelled() }}
run: |
echo ${{ github.token }} | gh auth login --with-token
gh release delete ${{ needs.prepare-release.outputs.release_tag }} -y --repo ${{ github.repository }}
git push --delete origin ${{ needs.prepare-release.outputs.release_tag }}