-
-
Notifications
You must be signed in to change notification settings - Fork 37
39 lines (36 loc) · 1.1 KB
/
release.yml
File metadata and controls
39 lines (36 loc) · 1.1 KB
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
name: Release
on:
workflow_dispatch:
inputs:
dry_run:
description: Execute dry run
required: true
type: boolean
default: false
publish:
description: Publish to qgis.org
required: true
type: boolean
default: false
jobs:
release-dry-run:
if: github.repository_owner == '3liz' && inputs.dry_run == true
uses: ./.github/workflows/release-package.yml
with:
dry_run: true
publish: false
secrets:
transifex_token: ${{ secrets.TRANSIFEX_TOKEN }}
osgeo_username: ${{ secrets.OSGEO_USERNAME }}
osgeo_password: ${{ secrets.OSGEO_PASSWORD }}
release:
if: ${{ github.repository_owner == '3liz' && contains(github.ref, 'refs/tags/') && inputs.dry_run == false }}
uses: ./.github/workflows/release-package.yml
with:
dry_run: false
publish: ${{ inputs.publish }}
secrets:
transifex_token: ${{ secrets.TRANSIFEX_TOKEN }}
osgeo_username: ${{ secrets.OSGEO_USERNAME }}
osgeo_password: ${{ secrets.OSGEO_PASSWORD }}
release_token: ${{ secrets.BOT_HUB_TOKEN }}