Skip to content

Update action.yml

Update action.yml #162

Workflow file for this run

name: 'build-test'
on:
pull_request:
env:
##### EDIT ME #####
iso-profiles-git: https://gitlab.manjaro.org/profiles-and-settings/iso-profiles
version: ci-test-ignore-me-${{ github.event.number }}
###################
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: delete test-release
run: |
echo ${{ github.token }} | gh auth login --with-token
gh release delete ${{ env.version }} -y --repo ${{ github.repository }} || exit 0
git push --delete origin ${{ env.version }}
build-release:
runs-on: ubuntu-22.04
needs: [cleanup]
strategy:
matrix:
##### EDIT ME #####
EDITION: [xfce]
BRANCH: [stable]
SCOPE: [minimal]
###################
steps:
- uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # tag=0.11.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- id: image-build
uses: ./
with:
iso-profiles-repo: ${{ env.iso-profiles-git }}
edition: ${{ matrix.edition }}
branch: ${{ matrix.branch }}
scope: ${{ matrix.scope }}
version: ${{ env.version }}
release-tag: ${{ env.version }}
gpg-secret-key-base64: ${{ secrets.gpg_secret_base64 }}
gpg-passphrase: 1234
cdn77-host: ${{ secrets.CDN_HOST }}
cdn77-user: ${{ secrets.CDN_USER }}
cdn77-pwd: ${{ secrets.CDN_PWD }}
sf-project: manjarolinux
sf-user: ${{ secrets.SF_USER_NAME }}
sf-key: ${{ secrets.SF_PRIV_SSHKEY }}
# custom-repo:
office-chooser: true
build-mirror: ${{ secrets.BUILD_MIRROR }}
# osdn is absurdly slow sometimes
# osdn-project: manjaro
# osdn-user: ${{ secrets.OSDN_USER_NAME }}
# osdn-key: ${{ secrets.OSDN_PRIV_SSHKEY }}