Skip to content

Commit

Permalink
Fix upgrade version ci (#71)
Browse files Browse the repository at this point in the history
* Fix upgrade version ci

* CI fixes
  • Loading branch information
MeirShpilraien authored Oct 26, 2023
1 parent c8bb355 commit f896111
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
id: get-current-v8-version
run: |
export V8_VERSION_CURRENT=`cat ./V8_DEFAULT_VERSION.txt`
export V8_NUM_VERSION_CURRENT = echo ${ V8_VERSION_CURRENT } | awk -F \. {'print $1*1000000000 + $2*1000000 + $3*1000 + $4'}
export V8_NUM_VERSION = echo ${{ inputs.v8_version }} | awk -F \. {'print $1*1000000000 + $2*1000000 + $3*1000 + $4'}
export V8_NUM_VERSION_CURRENT=`echo ${ V8_VERSION_CURRENT } | awk -F \. {'print $1*1000000000 + $2*1000000 + $3*1000 + $4'}`
export V8_NUM_VERSION=`echo ${{ inputs.v8_version }} | awk -F \. {'print $1*1000000000 + $2*1000000 + $3*1000 + $4'}`
echo "V8_VERSION_CURRENT=${V8_VERSION_CURRENT}" >> "$GITHUB_OUTPUT"
echo "V8_NUM_VERSION_CURRENT=${V8_NUM_VERSION_CURRENT}" >> "$GITHUB_OUTPUT"
echo "V8_NUM_VERSION=${V8_NUM_VERSION}" >> "$GITHUB_OUTPUT"
Expand All @@ -35,9 +35,9 @@ jobs:
- name: Update Version
run: echo ${{ inputs.v8_version }} > ./V8_DEFAULT_VERSION.txt
- name: Build
run: V8_UPDATE_HEADERS=${{ inputs.v8_update_headers }} cargo build -vv
run: V8_UPDATE_HEADERS=yes cargo build -vv
- name: Run tests
run: V8_UPDATE_HEADERS=${{ inputs.v8_update_headers }} cargo test -vv
run: V8_UPDATE_HEADERS=yes cargo test -vv
- name: Create PR if needed
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit f896111

Please sign in to comment.