Skip to content

Commit

Permalink
add workflow for nightly. Doesn't work yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
druppelt committed Sep 12, 2024
1 parent bb39808 commit 12e83fe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: nightly
on:
# currently a manual snapshot release build instead of a nightly,
# as I haven't figured out yet how to prevent spamming the releases with no changes at all.
# schedule:
# * is a special character in YAML, so you have to quote this string
# doing builds Tue-Sat, so we have changes from Fri
# available already on Sat
# - cron: '0 0 * * *'
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --snapshot --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 12e83fe

Please sign in to comment.