Skip to content

Commit

Permalink
fix checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Feb 3, 2025
1 parent c6f860c commit 52f52e5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ jobs:
repository: HicServices/RDMP
ref: develop
path: RDMP
- name: Fetch RDMP latest tag
run: |
cd RDMP
git fetch --unshallow --tags
$LATEST_TAG = git rev-list --tags --max-count=1 |git describe --tags
git checkout $LATEST_TAG
echo $LATEST_TAG
cd ..
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
Expand All @@ -36,6 +28,12 @@ jobs:
run: |
perl getversions.pl
perl getversions.pl >> %GITHUB_OUTPUT%
- name: Fetch RDMP latest tag
run: |
cd RDMP
git fetch --unshallow --tags
git checkout steps.version.outputs.rdmpversion
cd ..
- name: Install MS SQL 2019
uses: crazy-max/ghaction-chocolatey@v3
with:
Expand Down

0 comments on commit 52f52e5

Please sign in to comment.