Skip to content

Commit

Permalink
WIP: Debug CI
Browse files Browse the repository at this point in the history
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Jan 22, 2025
1 parent 5722297 commit f9124a5
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/kubectl-plugin-release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: release-kubectl-plugin
on:
push:
workflow_dispatch:
inputs:
tag:
Expand All @@ -13,18 +14,20 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.tag }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: 'goreleaser'
version: latest
args: release --clean
workdir: 'kubectl-plugin'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected]
- name: Show tag
run: git show HEAD
# - name: Setup Go
# uses: actions/setup-go@v5
# with:
# go-version: '1.22'
# - name: GoReleaser
# uses: goreleaser/goreleaser-action@v6
# with:
# distribution: 'goreleaser'
# version: latest
# args: release --clean
# workdir: 'kubectl-plugin'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Update new version in krew-index
# uses: rajatjindal/[email protected]

0 comments on commit f9124a5

Please sign in to comment.