This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex-mr_series-sherpa-onnx/.github/workflows/release-go.yaml
2023-12-09 00:07:52 +08:00

34 lines
617 B
YAML

name: release-go
on:
push:
tags:
- '*'
workflow_dispatch:
concurrency:
group: release-go-${{ github.ref }}
cancel-in-progress: true
jobs:
release_go:
name: Release go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Add SSH key
run: |
mkdir -p ~/.ssh/
cp scripts/go/ssh_config ~/.ssh/config
echo "${{ secrets.MY_GITHUB_SSH_KEY }}" > ~/.ssh/github && chmod 600 ~/.ssh/github
ssh github.com || true
- name: Release
shell: bash
run: |
cd scripts/go
./release.sh