laconicd-deprecated/.gitea/workflows/goreleaser.yml
Thomas E Lackey 66105d8565
Some checks failed
Deploy Contract / deploy (pull_request) Successful in 49s
Build / build (pull_request) Successful in 2m22s
Lint / Run flake8 on python integration tests (pull_request) Successful in 2m34s
Lint / Run golangci-lint (pull_request) Successful in 4m8s
Tests / test-rpc (pull_request) Successful in 4m36s
Tests / test-unit (pull_request) Failing after 6m43s
Tests / test-importer (pull_request) Successful in 8m45s
Tests / sdk_tests (pull_request) Successful in 19m56s
1.21
2024-01-22 22:32:18 -06:00

29 lines
667 B
YAML

name: goreleaser
on:
push:
tags:
- "v*.*.*"
jobs:
goreleaser:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
check-latest: true
- name: release dry run
run: make release-dry-run
- name: setup release environment
env:
GITHUB_TOKEN: ${{ secrets.CICD_PUBLISH_TOKEN }}
run: |-
echo 'GITHUB_TOKEN=${{secrets.CICD_PUBLISH_TOKEN}}' > .release-env
- name: release publish
run: make release