feat: allow FirstRoundBuilder
to produce MLEs (#417)
#294
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: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read # for checkout | |
jobs: | |
lint-and-test: | |
uses: ./.github/workflows/lint-and-test.yml | |
release: | |
name: Release | |
runs-on: large-8-core-32gb-22-04 | |
needs: [lint-and-test] | |
environment: deploy #!! DO NOT CHANGE THIS LINE !! # | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
id-token: write # to enable use of OIDC for npm provenance | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 0 # download tags, see https://github.com/actions/checkout/issues/100 | |
- run: git config --global --add safe.directory $(realpath .) | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Semantic Release | |
run: | | |
npm install semantic-release | |
npx semantic-release | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} |