CI: fix the tag fetching command

This commit is contained in:
liushuyu 2020-11-20 21:15:59 -07:00
parent 4efeace8ee
commit 0c9e7735f6
No known key found for this signature in database
GPG key ID: 23D1CE4534419437

View file

@ -26,7 +26,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-${{ matrix.image }}- ${{ runner.os }}-${{ matrix.image }}-
- name: Query tag name - name: Query tag name
uses: olegtarasov/get-tag@v2 uses: little-core-labs/get-git-tag@v3.0.2
id: tagName id: tagName
- name: Build - name: Build
run: ./.ci/${{ matrix.image }}/docker.sh run: ./.ci/${{ matrix.image }}/docker.sh
@ -57,7 +57,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-macos- ${{ runner.os }}-macos-
- name: Query tag name - name: Query tag name
uses: olegtarasov/get-tag@v2 uses: little-core-labs/get-git-tag@v3.0.2
id: tagName id: tagName
- name: Install dependencies - name: Install dependencies
run: ./.ci/macos/deps.sh run: ./.ci/macos/deps.sh
@ -115,7 +115,7 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v2
- name: Query tag name - name: Query tag name
uses: olegtarasov/get-tag@v2 uses: little-core-labs/get-git-tag@v3.0.2
id: tagName id: tagName
- name: Create release - name: Create release
uses: actions/create-release@v1 uses: actions/create-release@v1