[CI] Fix release
This commit is contained in:
parent
1ffcb2558d
commit
2661e63600
|
@ -7,7 +7,7 @@ on:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'scripts/**'
|
- 'scripts/**'
|
||||||
- 'poly/**'
|
- 'poly/**'
|
||||||
- '\.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
||||||
path: app.asar
|
path: app.asar
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
test-linux:
|
test:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
timeout-minutes: 3
|
timeout-minutes: 3
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: test-linux
|
needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -99,4 +99,5 @@ jobs:
|
||||||
gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git rev-parse HEAD | cut -c 1-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }}
|
gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git rev-parse HEAD | cut -c 1-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
|
VERSION: 'nightly'
|
||||||
FILES: app.asar
|
FILES: app.asar
|
||||||
|
|
Loading…
Reference in New Issue