Skip to content

Commit

Permalink
chore: fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Oct 22, 2024
1 parent dd8e62b commit a7f6d05
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ on:
inputs:
ref:
description: >-
The branch, tag or SHA to checkout. When checking out the
repository that triggered a workflow, this defaults to the reference
or SHA for that event. Otherwise, uses the default branch.
The branch, tag or SHA to checkout. When checking out the repository
that triggered a workflow, this defaults to the reference or SHA for
that event. Otherwise, uses the default branch.
required: true
default: main
extension:
description: The Extension to publish
type: choice
# Options are generated from `npm run gen:workflow`
options:
- "none"
- "all"
- none
- all
- extensions/ancient-greek
- extensions/arabic
- extensions/australian-english
- extensions/austrian-german
Expand All @@ -30,25 +31,32 @@ on:
- extensions/canadian-english
- extensions/catalan
- extensions/croatian
- extensions/cspell-bundled-dictionaries
- extensions/czech
- extensions/danish
- extensions/dutch
- extensions/esperanto
- extensions/estonian
- extensions/finnish
- extensions/french
- extensions/french-reforme
- extensions/german
- extensions/greek
- extensions/hebrew
- extensions/hungarian
- extensions/hunspell-syntax
- extensions/indonesian
- extensions/italian
- extensions/latin
- extensions/latvian
- extensions/lithuanian
- extensions/medical-terms
- extensions/norwegian-bokmal
- extensions/persian
- extensions/polish
- extensions/portuguese
- extensions/portuguese-brazilian
- extensions/romanian
- extensions/russian
- extensions/scientific-terms
- extensions/serbian
Expand All @@ -60,6 +68,7 @@ on:
- extensions/turkish
- extensions/ukrainian
- extensions/vietnamese
- extensions/win32
required: false

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- name: Use Node.js
uses: actions/setup-node@v4
- name: Install
run: npm install
- name: Prepare Try to Release
Expand Down
3 changes: 3 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Can be used by asdf and github-actions, can easily update with:
# asdf local nodejs latest:18
nodejs 20.18.0

0 comments on commit a7f6d05

Please sign in to comment.