File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 timeout-minutes : 60
1616 steps :
1717 - uses : actions/checkout@v2
18+ with :
19+ fetch-depth : 0
20+ - name : Checkout latest cron release tag
21+ run : |
22+ LATEST_TAG=$(git describe --tags --abbrev=0 --match='cron-*')
23+ git checkout $LATEST_TAG
1824 - uses : actions/setup-node@v2
1925 with :
2026 node-version : 16
Original file line number Diff line number Diff line change 1515 timeout-minutes : 20
1616 steps :
1717 - uses : actions/checkout@v2
18+ with :
19+ fetch-depth : 0
20+ - name : Checkout latest cron release tag
21+ run : |
22+ LATEST_TAG=$(git describe --tags --abbrev=0 --match='cron-*')
23+ git checkout $LATEST_TAG
1824 - uses : actions/setup-node@v2
1925 with :
2026 node-version : 16
Original file line number Diff line number Diff line change 1414 env : ['production']
1515 steps :
1616 - uses : actions/checkout@v2
17+ with :
18+ fetch-depth : 0
19+ - name : Checkout latest cron release tag
20+ run : |
21+ LATEST_TAG=$(git describe --tags --abbrev=0 --match='cron-*')
22+ git checkout $LATEST_TAG
1723 - uses : actions/setup-node@v2
1824 with :
1925 node-version : 16
Original file line number Diff line number Diff line change 1919 env : ['production']
2020 steps :
2121 - uses : actions/checkout@v2
22+ with :
23+ fetch-depth : 0
24+ - name : Checkout latest cron release tag
25+ run : |
26+ LATEST_TAG=$(git describe --tags --abbrev=0 --match='cron-*')
27+ git checkout $LATEST_TAG
2228 - uses : actions/setup-node@v2
2329 with :
2430 node-version : 16
Original file line number Diff line number Diff line change 1515 timeout-minutes : 60
1616 steps :
1717 - uses : actions/checkout@v2
18+ with :
19+ fetch-depth : 0
20+ - name : Checkout latest cron release tag
21+ run : |
22+ LATEST_TAG=$(git describe --tags --abbrev=0 --match='cron-*')
23+ git checkout $LATEST_TAG
1824 - uses : actions/setup-node@v2
1925 with :
2026 node-version : 16
Original file line number Diff line number Diff line change 1+ name : cron
2+ on :
3+ push :
4+ branches :
5+ - main
6+ paths :
7+ - ' packages/cron/**'
8+ - ' .github/workflows/cron.yml'
9+ release :
10+ name : Release
11+ runs-on : ubuntu-latest
12+ # This condition is not required, but leaving it here to safeguard against future new triggers
13+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
14+ steps :
15+ - uses : GoogleCloudPlatform/release-please-action@v3
16+ id : tag-release
17+ with :
18+ path : packages/cron
19+ token : ${{ secrets.GITHUB_TOKEN }}
20+ release-type : node
21+ monorepo-tags : true
22+ package-name : cron
You can’t perform that action at this time.
0 commit comments