Skip to content

Release Monthly Snapshot #40

Release Monthly Snapshot

Release Monthly Snapshot #40

---
name: Release Monthly Snapshot
on:
schedule:
# Arbitrary time so we're not competing with all of the 0:00 jobs for compute
# Run at 03:42 on the 1st of every month.
- cron: "42 3 1 * *"
jobs:
build:
name: Release Monthly Snapshot
runs-on: ubuntu-latest
steps:
- name: Get current date
id: date
run: echo "DATE=$(date +'%Y.%m.%d')" >> $GITHUB_ENV
- name: Checkout master Branch
uses: actions/checkout@v2
with:
ref: 'master'
- name: Create Release
id: monthly-snapshot
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.DATE }}
release_name: "Monthly snapshot for ${{ env.DATE }}"
draft: false
prerelease: false