Skip to content

Release v0.30.0

Release v0.30.0 #19

Workflow file for this run

name: Create Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
# NOTE: Created release will trigger artifact compilation and we need to have SDK published for that
needs: publish-rust
steps:
- uses: actions/checkout@v3
- uses: softprops/action-gh-release@v1
with:
prerelease: true
# NOTE: Custom token is used so release event will be emitted
token: ${{ secrets.OPS_GITHUB_TOKEN }}
publish-rust:
runs-on: ubuntu-latest
env:
M10_PROTOBUFS: "${{ github.workspace }}/protobuf"
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
path: "./rust"
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
ignore-unpublished-changes: true
publish-node:
runs-on: ubuntu-latest
defaults:
run:
working-directory: node/m10-sdk
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-dart:

Check failure on line 63 in .github/workflows/create-release.yaml

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/create-release.yaml (Line: 63, Col: 3): Error calling workflow 'dart-lang/setup-dart/.github/workflows/publish.yml@main'. The nested job 'publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.

Check failure on line 63 in .github/workflows/create-release.yaml

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/create-release.yaml (Line: 63, Col: 3): Error calling workflow 'dart-lang/setup-dart/.github/workflows/publish.yml@main'. The nested job 'publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
with:
working-directory: flutter/m10_sdk