Skip to content

Publish crates

Publish crates #27

name: "Publish crates"
on: workflow_dispatch
jobs:
publish-tremor-crates:
name: Publish tremor crates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: katyo/publish-crates@v2
with:
path: './tremor-script'
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
invoke-tremor-language-server:
needs: [publish-tremor-script]

Check failure on line 19 in .github/workflows/publish-crates.yaml

View workflow run for this annotation

GitHub Actions / Publish crates

Invalid workflow file

The workflow is not valid. .github/workflows/publish-crates.yaml (Line: 19, Col: 13): Job 'invoke-tremor-language-server' depends on unknown job 'publish-tremor-script'.
name: Trigger Tremor LS release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Find updated version
run: |
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
echo "VER=$VERSION" >> $GITHUB_ENV
- name: Invoke workflow in tremor-language-server
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Draft new release
repo: tremor-rs/tremor-language-server
inputs: '{ "version": "${{ env.VER }}"}'
token: ${{ secrets.PAT_TOKEN }}