Debian Codegraph @

.github/workflows/release.yml

raw symbols SCIP
1 name: Create a release
2
3 on:
4 push:
5 tags:
6 - "*"
7
8 permissions:
9 contents: write
10
11 jobs:
12 create_a_release:
13 name: create a release
14 runs-on: ubuntu-latest
15 steps:
16 - uses: actions/checkout@v3
17 with:
18 fetch-depth: 0
19 - run: git fetch --force --tags
20 - uses: actions/setup-go@v3
21 with:
22 go-version: ">=1.19.4"
23 cache: true
24 - uses: goreleaser/goreleaser-action@v4
25 with:
26 distribution: goreleaser
27 version: latest
28 args: release --rm-dist
29 env:
30 GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
31 - run: echo "${HOME}/.humanlog/bin" >> $GITHUB_PATH
32 - run: curl https://humanlog.io/install_apictl.sh | bash
33 - run: ./script/create_version_artifacts.sh
34 env:
35 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 HMAC_KEY_ID: ${{ secrets.HMAC_KEY_ID }}
37 HMAC_PRIVATE_KEY: ${{ secrets.HMAC_PRIVATE_KEY }}