Skip to content

Merge pull request #86 from piyush-garg/add_result_version #17

Merge pull request #86 from piyush-garg/add_result_version

Merge pull request #86 from piyush-garg/add_result_version #17

Workflow file for this run

name: release
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
- uses: actions/setup-go@v5
with:
go-version: '1.20'
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/.cache/pip
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashfiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: goreleaser/[email protected]
with:
version: latest
args: release --timeout=60m --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_PRIVATE_KEY: ${{ secrets.AUR_PRIVATE_KEY }}