|
3 | 3 | push: |
4 | 4 | pull_request: |
5 | 5 | workflow_dispatch: |
| 6 | + release: |
| 7 | + types: [ published ] |
6 | 8 | env: |
7 | 9 | CI_DEPLOY_NEED_GCC: 1 |
8 | 10 | CI_DEPLOY_MODULE: ${{ github.workflow }} |
|
13 | 15 | STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }} |
14 | 16 | REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }} |
15 | 17 | REPOSILITE_PASSWORD: ${{ secrets.REPOSILITE_PASSWORD }} |
16 | | - REPOSILITE_URL: "https://reposilite.silenium.dev/snapshots" |
| 18 | + # deploy to snapshots if not a release |
| 19 | + REPOSILITE_URL: ${{ github.event_name == 'release' && 'https://reposilite.silenium.dev/releases' || 'https://reposilite.silenium.dev/snapshots' }} |
17 | 20 | permissions: |
18 | 21 | contents: write |
19 | 22 | jobs: |
20 | | -# android-arm: |
21 | | -# runs-on: ubuntu-20.04 |
22 | | -# strategy: |
23 | | -# matrix: |
24 | | -# ext: ["", -gpl] |
25 | | -# steps: |
26 | | -# - uses: actions/checkout@v4 |
27 | | -# - uses: ./.github/actions/deploy-ubuntu |
28 | | -# android-arm64: |
29 | | -# runs-on: ubuntu-20.04 |
30 | | -# strategy: |
31 | | -# matrix: |
32 | | -# ext: ["", -gpl] |
33 | | -# steps: |
34 | | -# - uses: actions/checkout@v4 |
35 | | -# - uses: ./.github/actions/deploy-ubuntu |
36 | | -# android-x86: |
37 | | -# runs-on: ubuntu-20.04 |
38 | | -# strategy: |
39 | | -# matrix: |
40 | | -# ext: ["", -gpl] |
41 | | -# steps: |
42 | | -# - uses: actions/checkout@v4 |
43 | | -# - uses: ./.github/actions/deploy-ubuntu |
44 | | -# android-x86_64: |
45 | | -# runs-on: ubuntu-20.04 |
46 | | -# strategy: |
47 | | -# matrix: |
48 | | -# ext: ["", -gpl] |
49 | | -# steps: |
50 | | -# - uses: actions/checkout@v4 |
51 | | -# - uses: ./.github/actions/deploy-ubuntu |
52 | | -# linux-armhf: |
53 | | -# runs-on: ubuntu-20.04 |
54 | | -# strategy: |
55 | | -# matrix: |
56 | | -# ext: ["", -gpl] |
57 | | -# steps: |
58 | | -# - uses: actions/checkout@v4 |
59 | | -# - uses: ./.github/actions/deploy-ubuntu |
60 | | -# linux-arm64: |
61 | | -# runs-on: ubuntu-20.04 |
62 | | -# strategy: |
63 | | -# matrix: |
64 | | -# ext: ["", -gpl] |
65 | | -# steps: |
66 | | -# - uses: actions/checkout@v4 |
67 | | -# - uses: ./.github/actions/deploy-ubuntu |
68 | | -# linux-ppc64le: |
69 | | -# runs-on: ubuntu-20.04 |
70 | | -# strategy: |
71 | | -# matrix: |
72 | | -# ext: ["", -gpl] |
73 | | -# steps: |
74 | | -# - uses: actions/checkout@v4 |
75 | | -# - uses: ./.github/actions/deploy-ubuntu |
76 | | -# linux-x86: |
77 | | -# runs-on: ubuntu-20.04 |
78 | | -# strategy: |
79 | | -# matrix: |
80 | | -# ext: ["", -gpl] |
81 | | -# steps: |
82 | | -# - uses: actions/checkout@v4 |
83 | | -# - uses: ./.github/actions/deploy-ubuntu |
| 23 | + # android-arm: |
| 24 | + # runs-on: ubuntu-20.04 |
| 25 | + # strategy: |
| 26 | + # matrix: |
| 27 | + # ext: ["", -gpl] |
| 28 | + # steps: |
| 29 | + # - uses: actions/checkout@v4 |
| 30 | + # - uses: ./.github/actions/deploy-ubuntu |
| 31 | + # android-arm64: |
| 32 | + # runs-on: ubuntu-20.04 |
| 33 | + # strategy: |
| 34 | + # matrix: |
| 35 | + # ext: ["", -gpl] |
| 36 | + # steps: |
| 37 | + # - uses: actions/checkout@v4 |
| 38 | + # - uses: ./.github/actions/deploy-ubuntu |
| 39 | + # android-x86: |
| 40 | + # runs-on: ubuntu-20.04 |
| 41 | + # strategy: |
| 42 | + # matrix: |
| 43 | + # ext: ["", -gpl] |
| 44 | + # steps: |
| 45 | + # - uses: actions/checkout@v4 |
| 46 | + # - uses: ./.github/actions/deploy-ubuntu |
| 47 | + # android-x86_64: |
| 48 | + # runs-on: ubuntu-20.04 |
| 49 | + # strategy: |
| 50 | + # matrix: |
| 51 | + # ext: ["", -gpl] |
| 52 | + # steps: |
| 53 | + # - uses: actions/checkout@v4 |
| 54 | + # - uses: ./.github/actions/deploy-ubuntu |
| 55 | + # linux-armhf: |
| 56 | + # runs-on: ubuntu-20.04 |
| 57 | + # strategy: |
| 58 | + # matrix: |
| 59 | + # ext: ["", -gpl] |
| 60 | + # steps: |
| 61 | + # - uses: actions/checkout@v4 |
| 62 | + # - uses: ./.github/actions/deploy-ubuntu |
| 63 | + # linux-arm64: |
| 64 | + # runs-on: ubuntu-20.04 |
| 65 | + # strategy: |
| 66 | + # matrix: |
| 67 | + # ext: ["", -gpl] |
| 68 | + # steps: |
| 69 | + # - uses: actions/checkout@v4 |
| 70 | + # - uses: ./.github/actions/deploy-ubuntu |
| 71 | + # linux-ppc64le: |
| 72 | + # runs-on: ubuntu-20.04 |
| 73 | + # strategy: |
| 74 | + # matrix: |
| 75 | + # ext: ["", -gpl] |
| 76 | + # steps: |
| 77 | + # - uses: actions/checkout@v4 |
| 78 | + # - uses: ./.github/actions/deploy-ubuntu |
| 79 | + # linux-x86: |
| 80 | + # runs-on: ubuntu-20.04 |
| 81 | + # strategy: |
| 82 | + # matrix: |
| 83 | + # ext: ["", -gpl] |
| 84 | + # steps: |
| 85 | + # - uses: actions/checkout@v4 |
| 86 | + # - uses: ./.github/actions/deploy-ubuntu |
84 | 87 | linux-x86_64: |
85 | 88 | runs-on: ubuntu-20.04 |
86 | 89 | strategy: |
87 | 90 | matrix: |
88 | | - ext: ["", -gpl] |
| 91 | + ext: [ "", -gpl ] |
89 | 92 | steps: |
90 | 93 | - uses: actions/checkout@v4 |
91 | 94 | - uses: ./.github/actions/deploy-ubuntu |
|
0 commit comments