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 committed Oct 21, 2023
1 parent 2bdad38 commit d3b57ee
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 d3b57ee

Please sign in to comment.