From b0ea7a922574cdebba44665c9f1c593a5263d544 Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Mon, 20 Jun 2022 16:31:51 -0700 Subject: [PATCH] add monthly release --- .github/workflows/tag-monthly.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/tag-monthly.yml diff --git a/.github/workflows/tag-monthly.yml b/.github/workflows/tag-monthly.yml new file mode 100644 index 0000000..74f5d9f --- /dev/null +++ b/.github/workflows/tag-monthly.yml @@ -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