Skip to content

Commit

Permalink
only run CI on master
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed Jan 22, 2024
1 parent e219483 commit 77f63ba
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Run"
on: [pull_request, push]
on:
push:
branches:
- "master"

jobs:
defaults:
Expand All @@ -15,13 +18,13 @@ jobs:
actions-use-cache-test:
runs-on: ubuntu-latest
steps:
- name: Setup emsdk (use cache if found, create otherwise)
- name: Setup emsdk (use cache if found, create otherwise)
uses: mymindstorm/setup-emsdk@master
with:
version: 2.0.20
actions-cache-folder: 'emsdk-cache-folder'
no-cache: true

- name: Verify
run: emcc -v
no-install:
Expand All @@ -36,12 +39,12 @@ jobs:
tot:
runs-on: ubuntu-latest
steps:
- name: Setup emsdk (use cache if found, create otherwise)
- name: Setup emsdk (use cache if found, create otherwise)
uses: mymindstorm/setup-emsdk@master
with:
version: tot
no-cache: true
update-tags: true

- name: Verify
run: emcc -v

0 comments on commit 77f63ba

Please sign in to comment.