-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (47 loc) · 1.56 KB
/
iso_build.yaml
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
name: iso_build
on:
workflow_dispatch:
# schedule:
# - cron: '30 6 1 * *'
jobs:
release:
runs-on: ubuntu-20.04
strategy:
matrix:
##### EDIT ME #####
EDITION: [gnome, xfce, kde]
KERNEL: [linux610]
BRANCH: [stable]
SCOPE: [minimal,full]
###################
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- id: image-build
uses: manjaro/manjaro-iso-action@main
with:
edition: ${{ matrix.edition }}
branch: ${{ matrix.branch }}
scope: ${{ matrix.scope }}
version: "24.1.2"
kernel: ${{ matrix.kernel }}
code-name: "Xahea"
office-chooser: "true"
gpg-secret-key-base64: ${{ secrets.CI_PRIV_KEY }}
gpg-passphrase: ${{ secrets.CI_GPG_PASSPHRASE }}
sf-project: manjarolinux
sf-user: ${{ secrets.SF_USER_NAME }}
sf-key: ${{ secrets.SF_PRIV_SSHKEY }}
s3-cfg: ${{ secrets.S3_CFG }}
- name: rollback sourceforge upload
if: ${{ failure() || cancelled() }}
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
rsync --delete -vaP --stats \
-e ssh $(mktemp) ${{ secrets.SF_USER_NAME }}@frs.sourceforge.net:/home/frs/project/${{ env.sf-project }}/${{ env.edition }}/${{ env.version }}
- name: rollback cdn77 upload
if: ${{ failure() || cancelled() }}
run: |
s3cmd rm -r -f s3://s3downloadseu/${{ env.edition }}/${{ env.version }}