Merge pull request #5613 from liushuyu/master

CI: fix the tag fetching command
This commit is contained in:
Schplee 2020-11-20 20:56:10 -08:00 committed by GitHub
commit 2d972f91b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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