This repository was archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (47 loc) · 1.3 KB
/
release.yml
File metadata and controls
56 lines (47 loc) · 1.3 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
48
49
50
51
52
53
54
55
name: release
on:
push:
tags:
- 'v*'
defaults:
run:
shell: bash
jobs:
build-web:
name: build web
uses: lib-ruby-parser/wasm-bindings/.github/workflows/shared-build-and-test.yml@master
with:
node: '15'
target: no-modules
env: web
build-node:
name: build node
uses: lib-ruby-parser/wasm-bindings/.github/workflows/shared-build-and-test.yml@master
with:
node: '15'
target: nodejs
env: nodejs
create-release:
needs: ['build-web', 'build-node']
name: create release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/download-artifact@v2
with: { name: web-lib-ruby-parser.js }
- uses: actions/download-artifact@v2
with: { name: web-lib-ruby-parser.wasm }
- uses: actions/download-artifact@v2
with: { name: nodejs-lib-ruby-parser.js }
- uses: actions/download-artifact@v2
with: { name: nodejs-lib-ruby-parser.wasm }
- name: show artifacts
run: ls -l
- name: release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: "web-lib-ruby-parser.*,nodejs-lib-ruby-parser.*"
token: ${{ secrets.GITHUB_TOKEN }}