-
Notifications
You must be signed in to change notification settings - Fork 955
47 lines (41 loc) · 1.02 KB
/
android-release-on-tag.yml
File metadata and controls
47 lines (41 loc) · 1.02 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
40
41
42
43
44
45
46
47
name: Android Release on Tag
on:
push:
tags:
- 'v*.*.*-rc*'
- 'v*.*.*'
permissions:
id-token: write
contents: read
jobs:
prepare:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get-version.outputs.version }}
steps:
- id: get-version
run: echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT
release-xnnpack:
needs: prepare
uses: ./.github/workflows/android-release-artifacts.yml
secrets: inherit
with:
version: ${{ needs.prepare.outputs.version }}
flavor: xnnpack
upload_to_maven: true
release-vulkan:
needs: prepare
uses: ./.github/workflows/android-release-artifacts.yml
secrets: inherit
with:
version: ${{ needs.prepare.outputs.version }}
flavor: vulkan
upload_to_maven: true
release-qnn:
needs: prepare
uses: ./.github/workflows/android-release-artifacts.yml
secrets: inherit
with:
version: ${{ needs.prepare.outputs.version }}
flavor: qnn
upload_to_maven: true