Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed Nov 8, 2019
1 parent f4d2a0c commit 20f9d85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: mymindstorm/setup-emsdk@actions-cache
- uses: mymindstorm/setup-emsdk@master

- name: Verify
run: emcc -v
Expand All @@ -22,14 +22,14 @@ jobs:
path: emsdk-cache
key: ${{ runner.os }}-emsdk-1.38.48
- name: Setup emsdk (cache not found)
uses: mymindstorm/setup-emsdk@actions-cache
uses: mymindstorm/setup-emsdk@master
if: steps.cache.outputs.cache-hit != 'true'
with:
version: 1.38.48
store-actions-cache: 'emsdk-cache'
no-cache: true
- name: Setup emsdk (cache found)
uses: mymindstorm/setup-emsdk@actions-cache
uses: mymindstorm/setup-emsdk@master
if: steps.cache.outputs.cache-hit == 'true'
with:
version: 1.38.48
Expand All @@ -40,7 +40,7 @@ jobs:
no-install:
runs-on: ubuntu-latest
steps:
- uses: mymindstorm/setup-emsdk@actions-cache
- uses: mymindstorm/setup-emsdk@master
with:
no-install: true

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: mymindstorm/setup-emsdk@v1
- uses: mymindstorm/setup-emsdk@v2

- name: Verify
run: emcc -v
Expand All @@ -31,7 +31,7 @@ jobs:
key: ${{ runner.os }}-emsdk-1.38.40

- name: Setup emsdk (cache not found)
uses: mymindstorm/setup-emsdk@v1
uses: mymindstorm/setup-emsdk@v2
if: steps.cache.outputs.cache-hit != 'true'
with:
# Make sure to set a version number!
Expand All @@ -45,7 +45,7 @@ jobs:
no-cache: true

- name: Setup emsdk (cache found)
uses: mymindstorm/setup-emsdk@v1
uses: mymindstorm/setup-emsdk@v2
if: steps.cache.outputs.cache-hit == 'true'
with:
# Make sure to set a version number!
Expand Down

0 comments on commit 20f9d85

Please sign in to comment.