edge-connect-client/.github/workflows/release.yaml
Patrick Sy d25455a4c6
Some checks failed
ci / goreleaser (push) Failing after 1m32s
fix(release): Added repo to release action
2025-10-01 15:04:16 +02:00

41 lines
984 B
YAML

name: ci
on:
push:
tags:
- v*
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '>=1.25.1'
-
name: Run GoReleaser
uses: https://github.com/goreleaser/goreleaser-action@v6
with:
args: release --clean --skip=publish
-
name: Grab Changelog
id: changelog
run: |
echo "text=$(cat dist/CHANGELOG.md)" >> "$GITHUB_OUTPUT"
echo "text=$(cat dist/CHANGELOG.md)"
-
name: Release app
uses: actions/forgejo-release@v2.7.3
with:
direction: upload
#token: ${{ secrets.WRITE_TOKEN_TO_MYREPO }}
release-dir: dist
release-notes: ${{ steps.changelog.output.text }}
repo: "DevFW-CICD/edge-connect-client"