mirror of
https://github.com/go-task/task.git
synced 2026-06-22 20:25:50 +00:00
31 lines
868 B
YAML
31 lines
868 B
YAML
name: Release nightly
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 0 0 * * *
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
|
with:
|
|
go-version: 1.26.x
|
|
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7
|
|
with:
|
|
distribution: goreleaser-pro
|
|
version: latest
|
|
args: release --clean --nightly -f .goreleaser-nightly.yml
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GH_PAT}}
|
|
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
|
|
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}
|