Skip to content

Internal Release

Internal Release #111

Workflow file for this run

name: Internal Release
on:
workflow_dispatch:
concurrency:
group: ci-check-${{ github.ref }}
jobs:
build:
runs-on: ${{ vars.RUNNER_RUNS_ON }}
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.REPO_SNAPCRAFT_TOKEN }}
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/[email protected]
with:
token: ${{ secrets.GH_PAT2 }}
fetch-depth: 1
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v3
- name: Set up Go
uses: actions/[email protected]
with:
cache-dependency-path: "**/go.sum"
go-version: ${{ vars.GO_VERSION }} # settings > secrets and variables > variables > GO_VERSION
- name: Run GoReleaser
continue-on-error: true
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: 2
args: release --clean --config="goreleaser_internal.yaml"
env:
VERSION: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GH_PAT2 }}
PRIVATE_KEY_PATH: ${{ secrets.SSH_ID_RSA_MAGALUCLI }}