1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

add monthly release

This commit is contained in:
Casey Lee 2022-06-20 16:31:51 -07:00
parent 41bac518a3
commit 0529da81bc

29
.github/workflows/tag-monthly.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: tag-monthly
on:
schedule:
- cron: '0 2 1 * *'
env:
GO_VERSION: 1.18
jobs:
release:
name: tag-monthly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- uses: actions/cache@v3
if: ${{ !env.ACT }}
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: make promote