Release Monthly Snapshot #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |