Skip to content

Commit

Permalink
fix test-build
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Sep 30, 2024
1 parent f95a5d1 commit 33203de
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
- name: Build archive
shell: bash
run: |
VERSION="${GITHUB_REF#refs/tags/}"
# Get latest version
VERSION="$(git describe --tags "$(git rev-list --tags --max-count=1)")"
if [ "${{ matrix.os }}" = "windows-latest" ]; then
ARCHIVE="glistix-$VERSION-${{ matrix.target }}.zip"
Expand Down Expand Up @@ -105,7 +106,7 @@ jobs:
retention-days: 3

build-test-wasm:
name: build-release-wasm
name: build-test-wasm
runs-on: ubuntu-latest

steps:
Expand All @@ -128,7 +129,8 @@ jobs:

- name: Build wasm archive
run: |
VERSION="${GITHUB_REF#refs/tags/}"
# Get latest version
VERSION="$(git describe --tags "$(git rev-list --tags --max-count=1)")"
ARCHIVE="glistix-$VERSION-browser.tar.gz"
tar -C compiler-wasm/pkg/ -czvf $ARCHIVE .
Expand Down

0 comments on commit 33203de

Please sign in to comment.