-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (61 loc) · 1.77 KB
/
on-release.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
60
61
62
63
64
65
66
67
68
name: CI - On Release
on:
release:
types: [published]
workflow_dispatch:
jobs:
get_changed_icons:
name: Get changed icons
runs-on: ubuntu-latest
outputs:
BODY: ${{ steps.get-changed-icons.outputs.body }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm i
- run: npm run build
- name: Get changed icons
id: get-changed-icons
uses: ./.github/workflows/get_changed_icons.yml
# publish:
# name: Publish to NPM
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# ref: ${{github.ref_name}}
# - uses: actions/setup-node@v4
# with:
# node-version: 18
# registry-url: "https://registry.npmjs.org"
# - name: Install packages
# run: npm ci
# - name: Compile Typescript files
# run: tsc
# - name: Dry run
# run: npx figma connect publish --dry-run --token ${{ secrets.FIGMA_PERSONAL_ACCESS_TOKEN}}
# - name: Publish
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# publish_code_connect:
# uses: ./.github/workflows/publish_code_connect.yml
# if: always()
# secrets: inherit
# update_npm_dependencies:
# uses: ./.github/workflows/update_dependencies.yml
# secrets: inherit
update_flutter:
needs: get_changed_icons
uses: ./.github/workflows/update_zeta_flutter.yml
secrets: inherit
with:
comment: ${{ needs.get_changed_icons.outputs.BODY}}
update_android:
needs: get_changed_icons
uses: ./.github/workflows/update_zds_android.yml
secrets: inherit
with:
comment: ${{ needs.get_changed_icons.outputs.BODY}}