Skip to content

Commit

Permalink
Minor GHA fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Apr 23, 2024
1 parent 1298d00 commit 5a81d85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ jobs:
SHORT_SHA=${SHA:0:7}
VER=$(node -p "require('./src/package.json').version")
echo "version: ${VER}+${SHORT_SHA}"
echo "WEBR_VERSION=${VER}+${SHORT_SHA}" > "$HOME/.webr-config.mk"
echo "WEBR_VERSION_TAG=latest" > "$HOME/.webr-config.mk"
echo "WEBR_VERSION=${VER}+${SHORT_SHA}" >> "$HOME/.webr-config.mk"
echo "WEBR_VERSION_TAG=latest" >> "$HOME/.webr-config.mk"
shell: bash
- name: Set versioning for tag
if: "!contains(github.ref_name, 'main')"
run: |
VER=$(node -p "require('./src/package.json').version")
echo "version: ${VER}"
echo "WEBR_VERSION=${VER}" > "$HOME/.webr-config.mk"
echo "WEBR_VERSION_TAG=${{ github.ref_name }}" > "$HOME/.webr-config.mk"
echo "WEBR_VERSION=${VER}" >> "$HOME/.webr-config.mk"
echo "WEBR_VERSION_TAG=${{ github.ref_name }}" >> "$HOME/.webr-config.mk"
shell: bash
- name: Build all optional wasm libs
env:
Expand Down

0 comments on commit 5a81d85

Please sign in to comment.