Skip to content

Commit 953c1f3

Browse files
committed
Auto fetch most recent tag, perhaps?
1 parent 80a84d7 commit 953c1f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ jobs:
177177
vs-version: '16.6.2'
178178
- name: Get Tags
179179
run: |
180-
git fetch origin --tags &&
181-
git checkout tags/a-test-tag
180+
git fetch --tags &&
181+
latestTag=$(git describe --tags "$(git rev-list --tags --max-count=1)") &&
182+
git checkout $latestTag
182183
- name: Build
183184
run: msbuild "Source\dolphin-emu.sln" /verbosity:minimal /property:Configuration=Release /property:Platform=x64
184185
- name: Upload Build Artifact

0 commit comments

Comments
 (0)