Skip to content

Commit

Permalink
ci: add workflow for automatic monthly snapshots (gnolang#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl authored and gfanton committed Oct 20, 2023
1 parent c1ac41a commit 3f141fa
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/monthly-snapshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Monthly Snapshots

on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate tag name
id: tag_name
run: echo "::set-output name=tag_name::v0.0.1-dev.$(date +'%Y.%m.%d')"
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
prerelease: true
tag_name: '${{ steps.tag_name.outputs.tag_name }}'

0 comments on commit 3f141fa

Please sign in to comment.