Skip to content

Trying to fix workflow #11

Trying to fix workflow

Trying to fix workflow #11

#
name: Generate medias from Musescore files
# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
workflow_dispatch:
jobs:
generate-medias:
runs-on: ubuntu-latest
container:
image: ghcr.io/soprodecarnaval/musicoteca:main
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Generate media generator file
shell: bash
run: |
find public/collection/ -type f -name "*.mscz" | jq -R -s 'split("\n") | map(select(.!="") | sub(".mscz";"") | {"in":"\(.).mscz", "out": [[ "\(.)_",".svg"],[ "\(.)_",".midi"],"\(.).midi","\(.).metajson"]})' > media-generation.json
head media-generation.json
alias
xvfb-run /squashfs-root/AppRun -j media-generation.json
commit-changes:
runs-on: ubuntu-latest
name: Commit the changes
uses: devops-infra/action-commit-push@master

Check failure on line 27 in .github/workflows/generate-medias.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate-medias.yaml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
add_timestamp: true
commit_prefix: "[AUTO]"
commit_message: "Commiting media files"
force: false
target_branch: main