Bump to @actions/cache v4 to fix caching failures
#116
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Run" | |
| on: [pull_request, push] | |
| jobs: | |
| defaults: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - uses: mymindstorm/setup-emsdk@master | |
| - name: Verify | |
| run: emcc -v | |
| actions-use-cache-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup emsdk (use cache if found, create otherwise) | |
| uses: ./action.yml | |
| with: | |
| version: 4.0.9 | |
| actions-cache-folder: 'emsdk-cache-folder' | |
| no-cache: true | |
| - name: Verify | |
| run: emcc -v | |
| no-install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: ./action.yml | |
| with: | |
| no-install: true | |
| - name: Verify | |
| run: emsdk list | |
| tot: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup emsdk (use cache if found, create otherwise) | |
| uses: action.yml | |
| with: | |
| version: tot | |
| no-cache: true | |
| update-tags: true | |
| - name: Verify | |
| run: emcc -v |