# Release matrix: on tag v* -> tests -> artifacts for all platforms -> # Gitea release with assets talk__[.exe] + checksums.txt. name: release on: push: tags: - "v*" jobs: release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 # git describe needs the tags - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: go.mod - name: Tests run: go vet ./... && go test ./... - name: Build artifacts run: scripts/release.sh "${{ github.ref_name }}" - name: Create Gitea release and upload assets uses: https://gitea.com/actions/gitea-release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ github.ref_name }} name: talk ${{ github.ref_name }} body: | Static binaries (CGO_ENABLED=0), checksums in `checksums.txt`. Installation: download the matching `talk__`, verify the checksum, place it in your PATH as `talk`, run `talk doctor`. The daemon starts itself on the first speak command. files: |- dist/talk_* dist/checksums.txt