diff --git a/.github/workflows/build_houdini.yml b/.github/workflows/build_houdini.yml index 55facec..32e6965 100644 --- a/.github/workflows/build_houdini.yml +++ b/.github/workflows/build_houdini.yml @@ -68,7 +68,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: UsdAssetResolver-Linux + name: UsdAssetResolver-Linux-Houdini-${{ matrix.houdini_version }} path: artifacts/*.zip build_windows: @@ -121,7 +121,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: UsdAssetResolver-Windows + name: UsdAssetResolver-Windows-${{ matrix.houdini_version }} path: artifacts/*.zip deploy: @@ -129,22 +129,21 @@ jobs: permissions: contents: write needs: [build_linux, build_windows] + strategy: + matrix: + os: ["Linux", "Windows"] + houdini_version: ["19.5", "20.0"] steps: - name: Checkout repository uses: actions/checkout@v3 with: submodules: recursive - - name: Download artifacts Linux - uses: actions/download-artifact@v3 - with: - name: UsdAssetResolver-Linux - path: artifacts - - name: Download artifact + - name: Download artifacts uses: actions/download-artifact@v3 with: - name: UsdAssetResolver-Windows + name: UsdAssetResolver-${{ matrix.os }}-${{ matrix.houdini_version }} path: artifacts - - name: Upload artifact as release asset + - name: Upload artifacts as release assets run: | git fetch --all --tags --force latest_release_tag=$(git tag -l --sort=-version:refname v* | head -1)