Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Draft release
id: release_draft
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publish: false
- name: Build
run: ./build.sh ${{ steps.release_draft.outputs.tag_name }} ${{ secrets.SIGNER_ID }}
- name: Upload Release Asset
id: upload-release-asset
uses: sekwah41/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release_draft.outputs.upload_url }}
asset_path: ./bin/*
asset_name: binary