Skip to content

tinymist::announce

tinymist::announce #1

name: tinymist::announce
on:
workflow_dispatch:
inputs:
tag:
description: Release Tag
required: true
type: string
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dist
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.26.1-tinymist.6/cargo-dist-installer.sh | sh"
- name: Cache dist
uses: actions/upload-artifact@v4
with:
name: cargo-dist-cache
path: ~/.cargo/bin/dist
- name: Install parse changelog
uses: taiki-e/install-action@parse-changelog
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install deps
run: yarn install
- id: Generate Announcement

Check failure on line 36 in .github/workflows/gen-announcement.yml

View workflow run for this annotation

GitHub Actions / tinymist::announce

Invalid workflow file

The workflow is not valid. .github/workflows/gen-announcement.yml (Line: 36, Col: 13): The identifier 'Generate Announcement' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
run: |
yarn draft-release ${{ inputs.tag }}
echo "draft-release ran successfully"
- name: "Upload announcement changelog"
uses: actions/upload-artifact@v4
with:
name: announcement-changelog.md
path: target/announcement-changelog.md
- name: "Upload announcement"
uses: actions/upload-artifact@v4
with:
name: announcement-dist.md
path: target/announcement-dist.md
- name: "Upload announcement"
uses: actions/upload-artifact@v4
with:
name: announcement.gen.md
path: target/announcement.gen.md