-
Notifications
You must be signed in to change notification settings - Fork 20
59 lines (57 loc) · 2 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # 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@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # 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 }}