Skip to content

Commit

Permalink
ci: move v8 version read
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Jul 16, 2024
1 parent 4377559 commit cd33e26
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
submodules: recursive
fetch-depth: 0

- run: zig build get-tools
- run: zig build get-v8
- run: zig build -Doptimize=ReleaseSafe
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a

- name: Read version
id: read-version
run: |
echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
- run: zig build get-tools
- run: zig build get-v8
- run: zig build -Doptimize=ReleaseSafe
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a

- name: Upload the build
uses: ncipollo/release-action@v1
with:
Expand All @@ -66,16 +66,16 @@ jobs:
submodules: recursive
fetch-depth: 0

- run: zig build get-tools
- run: zig build get-v8
- run: zig build -Doptimize=ReleaseSafe
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a

- name: Read version
id: read-version
run: |
echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
- run: zig build get-tools
- run: zig build get-v8
- run: zig build -Doptimize=ReleaseSafe
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a

- name: Upload the build
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit cd33e26

Please sign in to comment.