Skip to content

Commit

Permalink
Fix asset upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaScheller committed Dec 10, 2023
1 parent 4044be5 commit de41a4a
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/build_houdini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -121,30 +121,29 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: UsdAssetResolver-Windows
name: UsdAssetResolver-Windows-${{ matrix.houdini_version }}
path: artifacts/*.zip

deploy:
runs-on: ubuntu-latest
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)
Expand Down

0 comments on commit de41a4a

Please sign in to comment.