Skip to content

Commit 59a7b08

Browse files
committed
adjust tag detection
1 parent b5fffee commit 59a7b08

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v2
3030
- name: detect GIT_REVISION
31-
run: echo "::set-env name=GIT_REVISION::$(git describe --tags --always)"
31+
run: |
32+
git fetch origin --tags
33+
echo "::set-env name=GIT_REVISION::$(git describe --tags --always)"
3234
- name: build loaders
3335
run: |
3436
sudo apt-get install -y $APT_DEPS

0 commit comments

Comments
 (0)