Skip to content

Commit

Permalink
✨ Added monthly-auto-create-release job
Browse files Browse the repository at this point in the history
  • Loading branch information
erbanku committed Dec 3, 2021
1 parent 9e0e37a commit c6c24bf
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/auto-create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "monthly-auto-create-release"

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

jobs:
release:
name: "Awesome Repositories List Monthly Release Create"
runs-on: "ubuntu-latest"

steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d')"
- name: "Build & test"
run: |
echo "Done!"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ steps.date.outputs.date }}
prerelease: false
title: "Awesome Repositories List ${{ steps.date.outputs.date}} Release"

0 comments on commit c6c24bf

Please sign in to comment.