Skip to content

Commit

Permalink
chore: action latest tag (#1487)
Browse files Browse the repository at this point in the history
* chore: action latest tag

Signed-off-by: chenk <[email protected]>

* chore: action latest tag

Signed-off-by: chenk <[email protected]>

---------

Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan authored Sep 5, 2023
1 parent f06c931 commit c94a8f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@ jobs:
permissions:
contents: write
steps:
- name: Get latest tag
id: latest_tag
run: |
latest_tag=$(git describe --tags --abbrev=0)
echo "::set-output name=tag::$latest_tag"
- name: Checkout main
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
ref: ${{ steps.latest_tag.outputs.tag }}
fetch-depth: 0
persist-credentials: true
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/publish-helm-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,7 @@ jobs:
if: github.event.client_payload.action == 'chart-release' || github.event.client_payload.action == 'chart-and-app-release'
runs-on: ubuntu-latest
steps:
- name: Get latest tag
id: latest_tag
run: |
latest_tag=$(git describe --tags --abbrev=0)
echo "::set-output name=tag::$latest_tag"
- uses: actions/checkout@v2
if: github.event.client_payload.action == 'chart-and-app-release'
with:
ref: ${{ steps.latest_tag.outputs.tag }}
fetch-depth: 0
- uses: actions/checkout@v2
if: github.event.client_payload.action == 'chart-release'
with:
fetch-depth: 0
- name: Install Helm
Expand Down

0 comments on commit c94a8f2

Please sign in to comment.