ci: revert to node 16.x, fix version wrapped in quotes

polynt
CanadaHonk 2 years ago
parent 59bf4eb769
commit 94840c4ba5

@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Node.js v18.x
- name: Setup Node.js v16.x
uses: actions/setup-node@v2
with:
node-version: 18.x
node-version: 16.x
- name: Pack base asar
run: |
@ -77,10 +77,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Node.js v18.x
- name: Setup Node.js v16.x
uses: actions/setup-node@v2
with:
node-version: 18.x
node-version: 16.x
- name: Retrieve artifact
uses: actions/download-artifact@v2
@ -153,7 +153,7 @@ jobs:
gh release create ${{ env.VERSION }} -t "$(echo "${{ env.VERSION }}" | sed 's/.*/\u&/')" -n "$(git rev-parse HEAD | cut -c 1-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
VERSION: \"$(strings app.asar | grep -oP "oaVersion='.*?-" | grep -oP "(?<=').*?(?=-)")\"
VERSION: '$(strings app.asar | grep -oP "oaVersion='.*?-" | grep -oP "(?<=').*?(?=-)")''
FILES: app.asar
# debug-linux:
@ -195,10 +195,10 @@ jobs:
# steps:
# - uses: actions/checkout@v2
# - name: Setup Node.js v18.x
# - name: Setup Node.js v16.x
# uses: actions/setup-node@v2
# with:
# node-version: 18.x
# node-version: 16.x
# - name: Retrieve artifact
# uses: actions/download-artifact@v2

Loading…
Cancel
Save