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@v41616
with:1717
fetch-depth: 018-
ref: ${{ needs.tagger.outputs.tag }}18+
ref: ${{ github.ref_name }}1919
2020
- name: Setup QEMU2121
uses: docker/setup-qemu-action@v3@@ -44,50 +44,12 @@
4444
with:4545
go-version-file: go.mod4646
47-
- name: Download changelog artifact48-
uses: actions/download-artifact@v449-
with:50-
name: changelog51-
5247
- name: Run GoReleaser5348
uses: goreleaser/goreleaser-action@v65449
with:5550
version: latest56-
args: release --skip=validate --clean --release-notes ${{ needs.tagger.outputs.tag }}.md51+
args: release --skip=validate --clean --release-notes ${{ github.ref_name }}.md5752
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.json63-
run: ./dist/helmwave_linux_amd64_v1/helmwave schema > schema.json64-
65-
- name: Upload schema.json66-
uses: xresloader/upload-to-github-release@v167-
env:68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}69-
with:70-
file: "schema.json"71-
update_latest_release: true72-
73-
docs:74-
runs-on: ubuntu-latest75-
needs:76-
- tagger77-
steps:78-
- name: Trigger helmwave/docs workflow79-
uses: actions/github-script@v780-
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 }}