Skip to content

Commit 23b202d

Browse files
committed
.
1 parent 22a1448 commit 23b202d

File tree

2 files changed

+21
-28
lines changed

2 files changed

+21
-28
lines changed

.github/workflows/archive.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/check-expectations.yml renamed to .github/workflows/ci.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
name: CI
22

33
on:
4+
create:
5+
tags:
6+
push:
7+
branches:
8+
- main
49
pull_request:
510

611
permissions:
712
contents: read
813

914
jobs:
15+
archive:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
19+
- name: make dist
20+
run: |
21+
make dist
22+
version=`cat emscripten-version.txt | sed s/\"//g`
23+
echo "VERSION=$version" >> $GITHUB_ENV
24+
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
25+
with:
26+
name: emscripten-${{ env.VERSION }}
27+
path: emscripten-${{ env.VERSION }}.tar.bz2
28+
1029
check-expectations:
1130
runs-on: ubuntu-latest
1231
steps:
@@ -33,9 +52,10 @@ jobs:
3352
echo "JS_ENGINES = [NODE_JS]" >> $EM_CONFIG
3453
echo "final config:"
3554
cat $EM_CONFIG
36-
- name: Check test expectaions on main
55+
- name: Check test expectations on main
3756
run: |
3857
git checkout origin/main
58+
# Hack to honor changes to rebaseline_tests.py in the current PR
3959
git checkout - ./tools/maint/rebaseline_tests.py
4060
./bootstrap
4161
if ! ./tools/maint/rebaseline_tests.py --check-only; then

0 commit comments

Comments
 (0)