Skip to content

Merge pull request #1779 from rambohe-ch/add-archive-info #6

Merge pull request #1779 from rambohe-ch/add-archive-info

Merge pull request #1779 from rambohe-ch/add-archive-info #6

Workflow file for this run

name: Release Assets
on:
push:
tags:
- "v*"
workflow_dispatch: {}
permissions:
contents: read
jobs:
goreleaser:
if: github.repository == 'openyurtio/openyurt'
permissions:
contents: write
actions: read
checks: write
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
runs-on: ubuntu-22.04
name: goreleaser
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}