Skip to content

Commit

Permalink
Test nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
mingjun97 committed Feb 13, 2021
1 parent 3d43253 commit 70801ec
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Nightly

on:
- push
# push:
# branches:
# - "development"
# - push
push:
branches:
- "github-action-for-nightly-release"

jobs:
build:
Expand All @@ -23,9 +23,9 @@ jobs:
- run: yarn --frozen-lockfile
- uses: mingjun97/file-regex-replace@v1
with:
find: '"version": "([0-9\.]*)"'
include: "^package.json"
replace: '"version": "$1-nightly"'
regex: '"version": "([0-9\.]*)"'
include: "^package.json"
replacement: '"version": "$1-nightly"'
- run: node ./script/build-current-platform.js
- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand Down

0 comments on commit 70801ec

Please sign in to comment.