Skip to content

Commit

Permalink
chore: try to get release-please to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Aug 12, 2022
1 parent f19ac31 commit 2ac0d52
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/manual-publish.yml
Expand Up @@ -19,6 +19,7 @@ on:
# Options are can be generated from `./scripts/extensions.sh`
options:
[
".",
"extensions/arabic",
"extensions/bulgarian",
"extensions/catalan",
Expand Down
20 changes: 17 additions & 3 deletions .github/workflows/publish.yml
Expand Up @@ -17,13 +17,27 @@ on:
VSCE_TOKEN:
required: true

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
filter_dirs:
runs-on: ubuntu-latest
outputs:
paths_released: ${{ env.EXTENSION_LIST }}
steps:
- name: filter
env:
paths_released: ${{ inputs.paths_released }}
run: >
echo EXTENSION_LIST=$(
echo $paths_released | jq 'map(select(startswith("extensions")))
) $GITHUB_ENV
publish:
runs-on: ubuntu-latest
needs:
- filter_dirs
strategy:
matrix:
extension_dir: ${{ fromJSON(inputs.paths_released) }}
extension_dir: ${{ fromJSON(needs.filter_dirs.outputs.paths_released) }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -61,4 +75,4 @@ jobs:
- name: Check Build
if: ${{ env.PUB_FAIL_VSCE || env.PUB_FAIL_OVSX }}
run: exit 1
# cspell:ignore vsix xargs OVSX
# cspell:ignore vsix xargs OVSX startswith

0 comments on commit 2ac0d52

Please sign in to comment.