Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
corang committed Jan 7, 2025
1 parent 2f93765 commit a011c56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ on:
- main

jobs:
list_folders:
get_folders:
runs-on: ubuntu-latest
outputs:
folders: ${{ steps.list.outputs.folders }}
folders: ${{ steps.get.outputs.folders }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: List folders
id: list
- name: get folders
id: get
run: |
echo "::set-output name=folders::$(ls -d bitnami/* | xargs -n 1 basename | jq -R -s -c 'split("\n")[:-1]')"
echo "folders=$(ls -d bitnami/* | xargs -n 1 basename | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
package-and-publish:
permissions:
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
folder: ${{ fromJson(needs.list_folders.outputs.folders) }}
folder: ${{ fromJson(needs.get_folders.outputs.folders) }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit a011c56

Please sign in to comment.