Skip to content

added seperate workflow to publish releases #1

added seperate workflow to publish releases

added seperate workflow to publish releases #1

name: publish_artifacts_as_release
# Only trigger, when the build workflow succeeded, see https://stackoverflow.com/questions/62750603/github-actions-trigger-another-action-after-one-action-is-completed
on:
workflow_run:
workflows: ["build_firmware","build_simhub_plugin"]
types:
- completed
# This is the list of jobs that will be run concurrently.
# Since we use a build matrix, the actual number of jobs
# started depends on how many configurations the matrix
# will produce.
jobs:
# https://docs.github.com/de/actions/using-workflows/storing-workflow-data-as-artifacts
jobs:

Check failure on line 20 in .github/workflows/publish_release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_release.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- name: Download math result for job 2
uses: actions/download-artifact@v4
with:
name: ["simhub_plugin","firmware_esp32"]
- name: Print the final result
shell: bash
run: |
echo The result is good