Release #155
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: Release | |
on: | |
schedule: | |
# 2 AM on Sunday | |
- cron: "0 2 * * 0" | |
workflow_dispatch: | |
# we do not want more than one release workflow executing at the same time, ever | |
concurrency: | |
group: release | |
# cancelling in the middle of a release would create incomplete releases | |
# so cancel-in-progress is false | |
cancel-in-progress: false | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: github.repository == 'substrait-io/substrait' | |
steps: | |
- uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ steps.generate-token.outputs.token }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- uses: bufbuild/buf-setup-action@v1.31.0 | |
with: | |
github_token: ${{ github.token }} | |
- name: run semantic-release | |
run: ./ci/release/run.sh | |
env: | |
BUF_TOKEN: ${{ secrets.BUF_TOKEN }} | |
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} |