Skip to content

Commit

Permalink
Move emscripten version to env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Sep 16, 2024
1 parent 3950cbe commit add8af9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true

env:
EMSCRIPTEN_VERSION: '3.1.65'

jobs:
clang_format:
name: Clang-Format
Expand Down Expand Up @@ -367,7 +370,7 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
with:
version: 'latest'
version: ${{ env.EMSCRIPTEN_VERSION }}

- name: Setup Ccache
uses: hendrikmuhs/ccache-action@main
Expand Down Expand Up @@ -410,7 +413,7 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
with:
version: 'latest'
version: ${{ env.EMSCRIPTEN_VERSION }}

- name: Setup Ccache
uses: hendrikmuhs/ccache-action@main
Expand Down Expand Up @@ -453,7 +456,7 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
with:
version: 'latest'
version: ${{ env.EMSCRIPTEN_VERSION }}

- name: Setup Ccache
uses: hendrikmuhs/ccache-action@main
Expand Down Expand Up @@ -497,7 +500,7 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
with:
version: 'latest'
version: ${{ env.EMSCRIPTEN_VERSION }}

- name: Setup Ccache
uses: hendrikmuhs/ccache-action@main
Expand Down Expand Up @@ -540,7 +543,7 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
with:
version: 'latest'
version: ${{ env.EMSCRIPTEN_VERSION }}

- name: Setup Ccache
uses: hendrikmuhs/ccache-action@main
Expand Down Expand Up @@ -583,7 +586,7 @@ jobs:
- uses: mymindstorm/setup-emsdk@v14
with:
version: 'latest'
version: ${{ env.EMSCRIPTEN_VERSION }}

- name: Setup Ccache
uses: hendrikmuhs/ccache-action@main
Expand Down

0 comments on commit add8af9

Please sign in to comment.