Skip to content

Commit c463631

Browse files
authored
Run a release monthly (#1039)
1 parent eb2a5a8 commit c463631

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Create monthly release
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 0 1 * *"
6+
7+
jobs:
8+
release:
9+
permissions:
10+
contents: write
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Get current date
16+
id: date
17+
run: echo "::set-output name=tag::$(date +'%b-%Y')"
18+
- name: Release
19+
uses: softprops/action-gh-release@v1
20+
with:
21+
generate_release_notes: true
22+
tag_name: "${{ steps.date.outputs.tag }}"

0 commit comments

Comments
 (0)