github.com/nektos/act@v0.2.63/.github/workflows/promote.yml (about)

     1  name: promote
     2  on:
     3    schedule:
     4      - cron: '0 2 1 * *'
     5    workflow_dispatch: {}
     6  
     7  jobs:
     8    release:
     9      name: promote
    10      runs-on: ubuntu-latest
    11      steps:
    12        - uses: actions/checkout@v4
    13          with:
    14            fetch-depth: 0
    15            ref: master
    16            token: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
    17        - uses: fregante/setup-git-user@v2
    18        - uses: actions/setup-go@v5
    19          with:
    20            go-version-file: go.mod
    21            check-latest: true
    22        - uses: actions/cache@v4
    23          if: ${{ !env.ACT }}
    24          with:
    25            path: ~/go/pkg/mod
    26            key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
    27            restore-keys: |
    28              ${{ runner.os }}-go-
    29        - run: make promote