Skip to content

Commit

Permalink
[GHA] fix getting runtime version
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Aug 7, 2023
1 parent b2392f9 commit e8f7d1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,9 @@ jobs:
run: |
ls
ls "${{ matrix.runtime }}-runtime-${{ github.sha }}"
runtime_ver="$(ruby -e 'require "./scripts/github/lib.rb"; puts get_runtime()')"
echo "{runtime_ver}={$runtime_ver}" >> $GITHUB_OUTPUT
runtime_ver="$(ruby -e 'require "./scripts/github/lib.rb"; puts get_runtime("${{ matrix.runtime }}")')"
echo "Found version: >$runtime_ver<"
echo "runtime_ver={$runtime_ver}" >> $GITHUB_OUTPUT
- name: Upload compact ${{ matrix.runtime }} wasm
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit e8f7d1e

Please sign in to comment.