Skip to content

Commit 78a1a8f

Browse files
authored
Use V2 of checkout to maybe get tags
1 parent 535fd5e commit 78a1a8f

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout Repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v2
1919
with:
2020
submodules: recursive
2121

@@ -171,15 +171,8 @@ jobs:
171171
- uses: actions/checkout@v2
172172
- name: Get Tags
173173
run: |
174-
TAG="$(git tag --points-at HEAD)"
175-
if [ ! -z "$TAG" ]; then
176-
SUFFIX="$TAG"
177-
elif [ "$EVENT_NAME" == "pull_request" ]; then
178-
PR_TITLE=$(echo "${PR_TITLE}" | tr -cd '[a-zA-Z0-9[:space:]]_-')
179-
SUFFIX="pr[$PR_NUM]-sha[$PR_SHA]-title[$PR_TITLE"
180-
SUFFIX=$(printf "%.99s]" "$SUFFIX")
181-
else
182-
SUFFIX="sha[$(git rev-parse --short HEAD)]"
174+
git fetch origin --tags
175+
git checkout the-testerrrr
183176
- name: Setup Submodules
184177
run: git config --global --add safe.directory . && git submodule update --init --recursive
185178
- name: Setup MSBuild
@@ -222,7 +215,7 @@ jobs:
222215
yaqti: 6.7.3
223216
steps:
224217
- name: Checkout Upstream Repo
225-
uses: actions/checkout@v4
218+
uses: actions/checkout@v2
226219
with:
227220
repository: Project-Plus-Development-Team/Project-Plus-Dolphin
228221
ref: mac-fixes-again

0 commit comments

Comments
 (0)