no mor matrix for release
This commit is contained in:
parent
80681be786
commit
507a83969e
1 changed files with 12 additions and 8 deletions
20
.github/workflows/release-dev.yml
vendored
20
.github/workflows/release-dev.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x, 14.x]
|
node-version: [14.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -33,15 +33,19 @@ jobs:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: test em
|
- name: test em
|
||||||
run: npm install && npm install -g --save-dev shadow-cljs && shadow-cljs compile test
|
run: |
|
||||||
|
npm install && \
|
||||||
- name: build release with node.js 14.x
|
npm install -g --save-dev shadow-cljs && \
|
||||||
uses: actions/setup-node@v1
|
shadow-cljs compile test
|
||||||
with:
|
|
||||||
node-version: 14.x
|
|
||||||
|
|
||||||
- name: build em
|
- name: build em
|
||||||
run: shadow-cljs release app && mkdir -p target/npm-build && cp mastodon-bot.js target/npm-build/ && cp package.json target/npm-build/ && cp README.md target/npm-build/ && tar -cz -C target/npm-build -f target/npm-build.tgz .
|
run: |
|
||||||
|
shadow-cljs release app && \
|
||||||
|
mkdir -p target/npm-build && \
|
||||||
|
cp mastodon-bot.js target/npm-build/ && \
|
||||||
|
cp package.json target/npm-build/ && \
|
||||||
|
cp README.md target/npm-build/ && \
|
||||||
|
tar -cz -C target/npm-build -f target/npm-build.tgz .
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|
Reference in a new issue