Skip to content

chore(deps): update docker/login-action digest to 70fccc7 (#65) #77

chore(deps): update docker/login-action digest to 70fccc7 (#65)

chore(deps): update docker/login-action digest to 70fccc7 (#65) #77

Workflow file for this run

name: goreleaser
on:
push:
branches: [main]
permissions:
contents: write
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@v5
with:
go-version: "1.20"
- name: Configure Git
run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install ccv
run: go install github.com/smlx/ccv/cmd/ccv@latest
- name: Bump tag if necessary
id: tag
run: |
if [ -z $(git tag -l $(ccv)) ]; then
git tag $(ccv)
git push --tags
echo "::set-output name=new::true"
fi
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}