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.6.0 with: direction: upload #token: ${{ secrets.WRITE_TOKEN_TO_MYREPO }} release-dir: dist release-notes: ${{ steps.changelog.output.text }} url: "https://edp.buildth.ing" repo: "DevFW-CICD/edge-connect-client" tag: "${{ github.ref_name }}" sha: "${{ github.sha }}" token: ${{ secrets.PACKAGES_TOKEN }}