Skip to content

Add REVEAL_ENVIDO_SCORE action & logic. #21

Add REVEAL_ENVIDO_SCORE action & logic.

Add REVEAL_ENVIDO_SCORE action & logic. #21

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release with GoReleaser
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22.3'
- name: Determine Version
uses: gittools/actions/gitversion/[email protected]
- name: Display SemVer
run: |
echo "SemVer: $GITVERSION_SEMVER" && echo "$version" && echo "$major.$minor.$patch"
- name: Create git tag
run: |
git tag $GITVERSION_SEMVER
- name: Push git tag
run: git push origin $GITVERSION_SEMVER
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: "latest"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}