Skip to content

[META-0] load from semver.versionhelper #28

[META-0] load from semver.versionhelper

[META-0] load from semver.versionhelper #28

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
paths-ignore:
- "action.yml"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
# Setup Cache
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Login GHES
run: |
set -eux
echo "machine github.krafton.com login sbx-cicd-bot password ${{ secrets.OVDR_DEVOPS_GITHUB_ENTERPRISE_TOKEN }}" >> ~/.netrc
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPRIVATE: github.krafton.com