Skip to content

Commit

Permalink
Doh, use bash
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus committed Mar 12, 2022
1 parent 69ceb1f commit 16f4194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -87,8 +87,9 @@ jobs:

- name: Run Bake
run: |
$VERSION = "1.0."+(5000+$($Env:GITHUB_RUN_NUMBER))
bake run --build-version $VERSION
declare -i REVISION
REVISION=5000+$GITHUB_RUN_NUMBER
bake run --build-version 1.0.$REVISION
- name: Upload NuGet packages
uses: actions/upload-artifact@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -87,8 +87,9 @@ jobs:

- name: Run Bake
run: |
$VERSION = "1.0."+(5000+$($Env:GITHUB_RUN_NUMBER))
bake run --convention=Release --build-version $VERSION --destination="nuget>github,nuget,release>github"
declare -i REVISION
REVISION=5000+$GITHUB_RUN_NUMBER
bake run --convention=Release --build-version 1.0.$REVISION --destination="nuget>github,nuget,release>github"
- name: Upload test results
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 16f4194

Please sign in to comment.