We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7121963 commit 711d74bCopy full SHA for 711d74b
.github/workflows/release.yml
@@ -4,12 +4,29 @@
4
name: Create New Release
5
6
on:
7
+ workflow_dispatch:
8
release:
9
types: [created]
10
11
jobs:
12
+ validate-build:
13
+ if: "!github.event.release.prelease"
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: actions/setup-node@v1
18
+ with:
19
+ node-version: 14
20
+ - run: npm install -g json
21
+ - run: |
22
+ if [[ $(npm view react-jsonschema-form-material-ui version) != $(json -f package.json version) ]]; then
23
+ echo "Creating New Release"
24
+ fi
25
+ exit 1
26
+
27
build:
28
if: "!github.event.release.prerelease"
29
+ needs: validate-build
30
runs-on: ubuntu-latest
31
steps:
32
- uses: actions/checkout@v2
0 commit comments