Skip to content

Commit

Permalink
remove unsused steps
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 14, 2024
1 parent a178bec commit c6a8da0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/publish_docker_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ on:
branches: [ "master", "develop" ]

jobs:
generate-workflows-list:
runs-on: ubuntu-latest
outputs:
matrix_json: ${{ steps.discover_workflows.outputs.matrix_json }}
steps:
- name: Discover Workflows
id: discover_workflows
run: |
# Find all YAML files in the .github/workflows directory that start with "publish_docker_matrix_"
workflows=$(find .github/workflows -name 'publish_docker_matrix_*.yml' -exec basename {} \;)
echo "Found workflows: $workflows"
# Convert to JSON array
matrix_json=$(echo "$workflows" | tr ' ' '\n' | sed 's/^/"/;s/$/"/' | paste -sd, - | sed 's/^/[ /;s/$/ ]/')
echo "matrix_json=$matrix_json" >> $GITHUB_ENV
debian:
uses: ./.github/workflows/publish_docker_matrix_debian.yml
ubuntu:
Expand Down

0 comments on commit c6a8da0

Please sign in to comment.