Skip to content

Commit

Permalink
ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
fubark committed Feb 22, 2023
1 parent 1d38045 commit 7e529c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/latest-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
version=$(zig build version)
echo "SHORT_VERSION=$version" >> $GITHUB_ENV
git fetch --all --tags
echo "BUILD=$(git rev-list --count $version-init..master)" >> $GITHUB_ENV
echo "BUILD=$(git rev-list --count $version..$GITHUB_SHA)" >> $GITHUB_ENV
- name: Get version. (windows)
if: env.BUILD_HOST == 'windows-2022'
Expand All @@ -149,7 +149,7 @@ jobs:
version=$(zig build version)
echo "SHORT_VERSION=$version" >> $env:GITHUB_ENV
git fetch --all --tags
echo "BUILD=$(git rev-list --count $version-init..master)" >> $env:GITHUB_ENV
echo "BUILD=$(git rev-list --count $version..$GITHUB_SHA)" >> $env:GITHUB_ENV
- name: Cache.
#if: env.BUILD_TARGET != 'x86_64-windows-gnu'
Expand Down

0 comments on commit 7e529c5

Please sign in to comment.