mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
feat: run announce workflow in ci (#1938)
Some checks are pending
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
Some checks are pending
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
This commit is contained in:
parent
e9ae352dfd
commit
5d2f32945c
6 changed files with 59 additions and 88 deletions
5
.github/workflows/build-vscode.yml
vendored
5
.github/workflows/build-vscode.yml
vendored
|
|
@ -1,6 +1,11 @@
|
|||
name: tinymist::build::vscode
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
plan:
|
||||
description: 'A description of the plan input'
|
||||
required: true # or false, depending on whether the input is mandatory
|
||||
type: string # or other appropriate type like boolean, number, etc.
|
||||
secrets:
|
||||
VSCODE_MARKETPLACE_TOKEN:
|
||||
required: true
|
||||
|
|
|
|||
5
.github/workflows/ci-check-e2e.yml
vendored
5
.github/workflows/ci-check-e2e.yml
vendored
|
|
@ -1,6 +1,11 @@
|
|||
name: tinymist::check-e2e
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
plan:
|
||||
description: 'A description of the plan input'
|
||||
required: true # or false, depending on whether the input is mandatory
|
||||
type: string # or other appropriate type like boolean, number, etc.
|
||||
|
||||
env:
|
||||
RUSTFLAGS: '-Dwarnings'
|
||||
|
|
|
|||
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
|
@ -106,18 +106,22 @@ jobs:
|
|||
outputs:
|
||||
tag: ${{ steps.tag.outputs.tag }}
|
||||
steps:
|
||||
- id: tag # get the tag after the `refs/tags/` prefix
|
||||
- uses: actions/checkout@v4
|
||||
- id: tag # get the tag from package.json
|
||||
run:
|
||||
echo "tag=${{ github.ref }}" | sed 's/refs\/tags\///' >> "$GITHUB_OUTPUT"
|
||||
echo "tag=$(jq -r '.version' editors/vscode/package.json)" >> $GITHUB_OUTPUT
|
||||
- name: Show tag
|
||||
run: echo "Tag is ${{ steps.tag.outputs.tag }}"
|
||||
|
||||
# announce:
|
||||
# needs: [prepare-build]
|
||||
# permissions:
|
||||
# contents: write
|
||||
# uses: ./.github/workflows/announce.yml
|
||||
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
# with:
|
||||
# tag: ${{ needs.prepare-build.outputs.tag }}
|
||||
announce:
|
||||
needs: [prepare-build]
|
||||
permissions:
|
||||
contents: write
|
||||
uses: ./.github/workflows/announce.yml
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
secrets: inherit
|
||||
with:
|
||||
tag: ${{ needs.prepare-build.outputs.tag }}
|
||||
|
||||
build:
|
||||
needs: [prepare-build] # , announce
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue