-
-
Notifications
You must be signed in to change notification settings - Fork 176
38 lines (37 loc) · 1016 Bytes
/
publish.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
name: Publish NPM
on:
release:
types: [created]
permissions: write-all
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: revolist/revogrid-actions
ref: main
path: ./actions
token: ${{ secrets.REPO_TOKEN }}
- name: Release grid new version
uses: ./actions/release-grid
with:
token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
update_submodules:
needs: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: revolist/revogrid-actions
ref: main
path: ./actions
token: ${{ secrets.REPO_TOKEN }}
- name: Update submodules
uses: ./actions/update-submodules
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.REPO_TOKEN }}