Skip to content

Commit

Permalink
bump tag to rc-1 with env
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed Jun 19, 2024
1 parent 77eeafe commit 1611f95
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
branches: [main]
types: [opened, synchronize, reopened]

env:
GITHUB_ACTIONS: true

jobs:
gv-via-actions:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,7 +77,7 @@ jobs:
fetch-depth: 0

- run: |
docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo"
docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion:6.0.0-rc.1 /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo"
docker logs gvtest
gv-via-container-workaround2:
Expand All @@ -94,5 +97,5 @@ jobs:
#https://github.com/actions/checkout/issues/426#issuecomment-1881367421

- run: |
docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo"
docker run --name gvtest --entrypoint "" -v "$(pwd):/repo" gittools/gitversion:6.0.0-rc.1 /bin/bash -c "git config --global --add safe.directory '*'; /tools/dotnet-gitversion /repo"
docker logs gvtest

0 comments on commit 1611f95

Please sign in to comment.