Skip to content

Commit

Permalink
update actions process
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed May 12, 2021
1 parent 66a1378 commit c08ad3f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build and release schild.report
on:
push:
Expand All @@ -14,7 +15,7 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Get npm cache directory
id: npm-cache
run: |
Expand All @@ -26,9 +27,11 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js, NPM
uses: actions/setup-node@v1
- name: Install Dependencies
run: npm install
uses: actions/setup-node@v2
with:
node-version: '14'
check-latest: true
- run: npm install
- name: set version
run: |
echo "export const VERSION = { gitHash: '${{ github.sha }}', buildVersion: '2.4.${{ github.run_number }}', production: true }" > src/version.js
Expand Down

0 comments on commit c08ad3f

Please sign in to comment.