Skip to content

Commit

Permalink
Add generate-emsdk-cache.yml (#16228)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar authored Sep 8, 2023
1 parent f4247da commit 131e84c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/generate-emsdk-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: <Native> Generate Emsdk Cache

on:
workflow_dispatch:
inputs:
emsdk_version:
description: 'Emsdk version'
type: string
default: '3.1.45'
required: true

jobs:
generate_emsdk_cache:
name: "Generate Emsdk cache"
runs-on: ubuntu-latest
steps:
- name: Setup emsdk
uses: dumganhar/setup-emsdk@997d2cde2deabda085a11f98e86e842915b0e846
with:
version: ${{ github.event.inputs.emsdk_version }}
actions-cache-folder: 'emsdk-cache'

- name: Verify
run: |
which emcc
emcc -v

0 comments on commit 131e84c

Please sign in to comment.