Skip to content

Commit

Permalink
test new release drafter combi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Jan 19, 2025
1 parent ff55ec3 commit 0fe8e5f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ jobs:
- name: Generate filters
id: filter-setup
run: |
# Generate filters without incorrect indentation
filters=$(find . -maxdepth 1 -type d ! -path ./.git ! -path . -exec basename {} \; | grep -v '^\.' | awk '{printf "%s: \"%s/**\"\n", $1, $1}')
echo "Generated Filters:"
echo "$filters"
# Set the filters directly without extra indentation
echo "filters<<EOF" >> $GITHUB_OUTPUT
echo "$filters" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
Expand All @@ -34,7 +30,7 @@ jobs:
filters: ${{ steps.filter-setup.outputs.filters }}

outputs:
packages: ${{ steps.filter.outputs.changes }}
packages: ${{ steps.filter.outputs.changes || '[]' }}

release-drafter:
needs: changes
Expand Down

0 comments on commit 0fe8e5f

Please sign in to comment.