use https for submodule #3
Workflow file for this run
This file contains 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
permissions: | |
contents: write | |
name: release | |
on: | |
push: | |
tags: | |
- v*.*.* | |
- '!v*.*.*-**' | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Unshallow clone | |
run: git fetch --prune --unshallow | |
- name: Fetch git submodules | |
run: git submodule update --init --recursive | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.22.x' | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
args: release --clean --skip=validate | |
version: latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |