Skip to content

feat: support remote authentication #24

feat: support remote authentication

feat: support remote authentication #24

Workflow file for this run

name: cmd
permissions:
contents: write
actions: read
id-token: write
defaults:
run:
shell: bash
on:
push:
tags:
- "v*.*.*"
jobs:
build:
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
persist-credentials: false
- name: Setup Go
timeout-minutes: 15
uses: actions/setup-go@v5
with:
go-version: "1.22.5"
cache-dependency-path: |
**/go.sum
- name: Make
run: make build
env:
VERSION: "${{ github.ref_name }}"
- name: Release
uses: softprops/action-gh-release@v2
with:
fail_on_unmatched_files: true
tag_name: "${{ github.ref_name }}"
prerelease: ${{ contains(github.ref, 'rc') }}
files: ${{ github.workspace }}/.dist/*