mirror of
https://github.com/appleboy/drone-telegram.git
synced 2026-06-04 18:23:45 +08:00
dc775b15ea
- Fix a typo in the cron expression for the codeql.yml workflow - Update the version of the actions/checkout action in the codeql.yml workflow - Update the version of the docker/login-action in the docker.yml workflow - Update the version of the docker/metadata-action in the docker.yml workflow - Update the version of the actions/checkout action in the goreleaser.yml workflow - Update the version of the actions/checkout action in the lint.yml workflow Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
33 lines
649 B
YAML
33 lines
649 B
YAML
name: Goreleaser
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "^1"
|
|
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@v4
|
|
with:
|
|
# either 'goreleaser' (default) or 'goreleaser-pro'
|
|
distribution: goreleaser
|
|
version: latest
|
|
args: release --rm-dist
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|