Skip to content

Commit c94a8f2

Browse files
authored
chore: action latest tag (#1487)
* chore: action latest tag Signed-off-by: chenk <hen.keinan@gmail.com> * chore: action latest tag Signed-off-by: chenk <hen.keinan@gmail.com> --------- Signed-off-by: chenk <hen.keinan@gmail.com>
1 parent f06c931 commit c94a8f2

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

.github/workflows/publish-docs.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,9 @@ jobs:
1717
permissions:
1818
contents: write
1919
steps:
20-
- name: Get latest tag
21-
id: latest_tag
22-
run: |
23-
latest_tag=$(git describe --tags --abbrev=0)
24-
echo "::set-output name=tag::$latest_tag"
2520
- name: Checkout main
2621
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
2722
with:
28-
ref: ${{ steps.latest_tag.outputs.tag }}
2923
fetch-depth: 0
3024
persist-credentials: true
3125
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1

.github/workflows/publish-helm-chart.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,7 @@ jobs:
1919
if: github.event.client_payload.action == 'chart-release' || github.event.client_payload.action == 'chart-and-app-release'
2020
runs-on: ubuntu-latest
2121
steps:
22-
- name: Get latest tag
23-
id: latest_tag
24-
run: |
25-
latest_tag=$(git describe --tags --abbrev=0)
26-
echo "::set-output name=tag::$latest_tag"
27-
- uses: actions/checkout@v2
28-
if: github.event.client_payload.action == 'chart-and-app-release'
29-
with:
30-
ref: ${{ steps.latest_tag.outputs.tag }}
31-
fetch-depth: 0
3222
- uses: actions/checkout@v2
33-
if: github.event.client_payload.action == 'chart-release'
3423
with:
3524
fetch-depth: 0
3625
- name: Install Helm

0 commit comments

Comments
 (0)