Turobpack Nightly Release #649
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Turobpack Nightly Release | |
on: | |
schedule: | |
- cron: "15 8 * * *" # Run every day at 00:15 PST | |
workflow_dispatch: | |
jobs: | |
turbopack_nightly: | |
name: Cut nightly Turbopack release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Get latest commit that passes CI | |
uses: talentpair/last-green-commit-action@d95cfa836b22ef047dd0a8ddb1e6d9567982d702 | |
id: green_commit | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Tag nightly | |
id: tag_version | |
uses: ./.github/actions/turbopack-bump | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
commit_sha: ${{ steps.green_commit.outputs.result }} | |
prefix: "turbopack-" | |
- name: Create GitHub release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: ${{ steps.tag_version.outputs.new_tag }} | |
name: Turbopack Nightly Release ${{ steps.tag_version.outputs.new_tag }} | |
body: ${{ steps.tag_version.outputs.changelog }} | |
prerelease: true |