Merge pull request #5934 from koba1t/pinToKyaml #36
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release | |
| permissions: | |
| contents: write # Allow actions to update dependabot PRs | |
| on: | |
| push: | |
| tags: | |
| - kyaml/v* | |
| - cmd/config/v* | |
| - api/v* | |
| - kustomize/v* | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.work | |
| id: go | |
| - run: ./releasing/create-release.sh "${tag}" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| tag: ${{ github.ref_name }} |