Skip to content

fix: replace heredoc with jq in mcad-export curl steps #36

fix: replace heredoc with jq in mcad-export curl steps

fix: replace heredoc with jq in mcad-export curl steps #36

Workflow file for this run

name: πŸ‰ Materialize

Check failure on line 1 in .github/workflows/materialize.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/materialize.yaml

Invalid workflow file

(Line: 163, Col: 9): Job 'materialize-output' depends on unknown job 'visual-branding-output'.
on:
create:
tags:
- 'v*'
jobs:
mechanical-output:
name: πŸ”§ Mechanical Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: πŸ”§ Mechanical output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
electronics-output:
name: πŸ§ͺ Electronics Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: πŸ§ͺ Electronics output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: electronics-output
path: "blah"
firmware-output:
name: πŸ–₯️ Firmware Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: πŸ–₯️ Firmware output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: firmware-output
path: "blah"
manufacturing-assembly-output:
name: 🏭 Manufacturing Assembly Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: 🏭 Manufacturing assembly output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: manufacturing-assembly-output
path: "blah"
visual-and-branding-output:
name: 🎨 Visual and Branding Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: 🎨 Visual and branding output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: visual-branding-output
path: "blah"
documentation-output:
name: πŸ“š Documentation Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: πŸ“š Documentation output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: documentation-output
path: "blah"
administrative-output:
name: πŸ—‚οΈ Administrative Output
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- Low
- Normal
columns:
- 5
- 6
steps:
- name: start-info
run: |
echo "::notice:: πŸ—‚οΈ Administrative output job started for ${{ matrix.profile }} and ${{ matrix.columns }}."
- name: upload-artifact
uses: actions/upload-artifact@v4
with:
name: administrative-output
path: "blah"
materialize-output:
needs:
- mechanical-output
- electronics-output
- firmware-output
- manufacturing-assembly-output
- visual-branding-output
- documentation-output
- administrative-output
name: πŸ“¦ Materialize Output
runs-on: ubuntu-latest
steps:
- name: start-info
run: |
echo "::notice:: πŸ“¦ Materialize output job started for version ${{ github.ref }}."
- name: download-artifacts
uses: actions/download-artifact@v4
- name: crate-release
run: |
gh release create ${{ github.ref }} \
--title "Release ${{ github.ref }}" \
--notes "Release notes for version ${{ github.ref }}"
- name: add-release-assets
run: |
gh release upload ${{ github.ref }} \
"path/to/mechanical_output.zip" \
"path/to/electronics_output.zip" \
"path/to/firmware_output.zip" \
"path/to/manufacturing_assembly_output.zip" \
"path/to/visual_and_branding_output.zip" \
"path/to/documentation_output.zip" \
"path/to/administrative_output.zip"