Skip to content

Commit

Permalink
change release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kienn-HCl committed Mar 31, 2023
1 parent 1b9eba3 commit 53a2285
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ on:
tags:
- 'v*'

permissions:
contents: write

jobs:
release:
name: Release
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.x
uses: actions/setup-go@v3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add font licence
Expand Down

0 comments on commit 53a2285

Please sign in to comment.