Skip to content

dng

dng #1

Workflow file for this run

name: 🪟 Build Patchwork for Windows

Check failure on line 1 in .github/workflows/windows_builds.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/windows_builds.yml

Invalid workflow file

(Line: 17, Col: 9): Unexpected value 'run'
on:
workflow_call:
jobs:
build-windows:
runs-on: "windows-latest"
name: 📐 Build ${{ matrix.arch }}
strategy:
fail-fast: false
matrix:
# ARM32 Is not officially supported yet, you need to self build rust target.
arch: ["x86_64-pc-windows-msvc", "aarch64-pc-windows-msvc"] #, , "i686-pc-windows-msvc", "aarch64-pc-windows-msvc", "thumbv7a-pc-windows-msvc"]
steps:
- uses: actions/checkout@v4
# pull the tags so Just can sign the version
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Restore Cache
uses: Swatinem/rust-cache@v2
with:
prefix-key: patchwork_rust_plugin_windows-${{ matrix.arch }}
- name: Build
uses: ./.github/actions/build-plugin
with:
arch: ${{ matrix.arch }}
- name: Upload
uses: actions/upload-artifact@v4
with:
name: patchwork-build-windows-${{ matrix.arch }}
path: |
build/patchwork/*
if-no-files-found: error