New ๐ŸŒŠ wave for @helm

Commit f6a8c2bd

f6a8c2bdf952Merged

Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified

Description

fix(ci): clean goreleaser.yml

Signed-off-by: Dmitriy Zhilyaev [email protected]

Details

Commit
f6a8c2bdf952
Parent
c2a57df0ff16

.github/workflows/goreleaser.ymlmodifiedView file

@@ -15,7 +15,7 @@
1515 - uses: actions/checkout@v4
1616 with:
1717 fetch-depth: 0
18- ref: ${{ needs.tagger.outputs.tag }}
18+ ref: ${{ github.ref_name }}
1919
2020 - name: Setup QEMU
2121 uses: docker/setup-qemu-action@v3
@@ -44,50 +44,12 @@
4444 with:
4545 go-version-file: go.mod
4646
47- - name: Download changelog artifact
48- uses: actions/download-artifact@v4
49- with:
50- name: changelog
51-
5247 - name: Run GoReleaser
5348 uses: goreleaser/goreleaser-action@v6
5449 with:
5550 version: latest
56- args: release --skip=validate --clean --release-notes ${{ needs.tagger.outputs.tag }}.md
51+ args: release --skip=validate --clean --release-notes ${{ github.ref_name }}.md
5752 env:
5853 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5954 HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.CR_PAT }}
6055 TELEGRAM_TOKEN: ${{ secrets.BOT_TOKEN }}
61-
62- - name: Generate schema.json
63- run: ./dist/helmwave_linux_amd64_v1/helmwave schema > schema.json
64-
65- - name: Upload schema.json
66- uses: xresloader/upload-to-github-release@v1
67- env:
68- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69- with:
70- file: "schema.json"
71- update_latest_release: true
72-
73- docs:
74- runs-on: ubuntu-latest
75- needs:
76- - tagger
77- steps:
78- - name: Trigger helmwave/docs workflow
79- uses: actions/github-script@v7
80- with:
81- github-token: ${{ secrets.PAT }}
82- script: |
83- await github.rest.actions.createWorkflowDispatch({
84- owner: context.repo.owner,
85- repo: "docs",
86- workflow_id: "generate-new-version.yml",
87- ref: "main",
88- inputs: {
89- tag: process.env.GITHUB_TAG,
90- },
91- })
92- env:
93- GITHUB_TAG: ${{ needs.tagger.outputs.tag }}