From c355bfb6306fbc45a5d74b86fa2a0f9b51e09d32 Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Wed, 3 Jan 2024 21:06:02 -0700 Subject: [PATCH] fix: correct filepath on windows and mac Signed-off-by: jonathan zollinger --- .github/workflows/upload-release-binaries.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-release-binaries.yml b/.github/workflows/upload-release-binaries.yml index 9fd2e81..d13810c 100644 --- a/.github/workflows/upload-release-binaries.yml +++ b/.github/workflows/upload-release-binaries.yml @@ -1,4 +1,4 @@ -name: upload native image binaries +name: Publish New Release on: workflow_dispatch: @@ -14,10 +14,15 @@ jobs: os: [macos-latest, windows-latest, ubuntu-latest] include: - os: macos-latest + file: /Users/runner/work/microfetch/microfetch/build/native/nativeCompile/microfetch - os: ubuntu-latest + file: /home/runner/work/microfetch/microfetch/build/native/nativeCompile/microfetch - os: windows-latest - filetype: 'exe' + file: D:\a\microfetch\microfetch\build\native\nativeCompile\microfetch.exe steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref_name }} and your repository is ${{ github.repository }}." - uses: actions/checkout@v4 - name: Set up JDK 17 uses: graalvm/setup-graalvm@v1 @@ -30,4 +35,4 @@ jobs: uses: actions/upload-artifact@v4.0.0 with: name: microfetch-${{ matrix.os }} - path: /home/runner/work/microfetch/microfetch/build/native/nativeCompile/microfetch${{ matrix.filetype }} + path: ${{ matrix.file }}