Skip to content

Commit

Permalink
fix(ci): correct build path
Browse files Browse the repository at this point in the history
  • Loading branch information
EuleMitKeule committed Nov 7, 2022
1 parent 71bca0a commit 4bcae06
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ env:
USE_ODIN: true
ODIN_REPO: EuleMitKeule/odin-inspector-3.1.6.1
GH_PAT: ${{ secrets.GH_PAT }}
BUILD_DIR: "WorkingTitle/Builds"

on:
push:
Expand Down Expand Up @@ -84,22 +83,22 @@ jobs:
with:
targetPlatform: ${{ matrix.buildTarget }}
projectPath: ${{ env.PROJECT_DIR }}
buildName: ${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}
buildsPath: ${{ env.BUILD_DIR }}
buildName: ${{ env.PROJECT_NAME }}-${{ needs.release.outputs.version }}
buildsPath: ${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}
versioning: Custom
version: ${{ needs.release.outputs.version }}

- name: Upload build
uses: actions/upload-artifact@v2
with:
name: Build
path: ${{ env.BUILD_DIR }}/${{ matrix.buildTarget }}/${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}
path: ${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}

- name: Zip build
uses: thedoctor0/zip-release@main
with:
path: ${{ env.BUILD_DIR }}/${{ matrix.buildTarget }}/${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}
filename: ${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}
path: ${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}
filename: ${{ env.PROJECT_NAME }}-${{ matrix.buildTarget }}-${{ needs.release.outputs.version }}.zip

- name: Upload release asset
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 4bcae06

Please sign in to comment.