Skip to content

Commit d9a8377

Browse files
authored
Merge pull request #114 from critesjosh/main
Update version in test workflow during nightly version update
2 parents 4c12583 + 00a9179 commit d9a8377

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/nightly-update.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,18 @@ jobs:
4747
if: steps.latest.outputs.latest != steps.current.outputs.current
4848
run: |
4949
tag=${{ steps.latest.outputs.latest }}
50+
echo "TAG=$tag" >> $GITHUB_ENV
5051
aztec-up -v ${tag#v}
5152
5253
- name: Run yarn update
5354
if: steps.latest.outputs.latest != steps.current.outputs.current
5455
run: yarn update
5556

57+
- name: Update tests workflow version
58+
if: steps.latest.outputs.latest != steps.current.outputs.current
59+
run: |
60+
sed -i "s/VERSION=[0-9.]*/VERSION=${TAG#v}/" .github/workflows/tests.yaml
61+
5662
- name: Clean up temporary files
5763
if: steps.latest.outputs.latest != steps.current.outputs.current
5864
run: rm -f tmp.sh

0 commit comments

Comments
 (0)