Skip to content

Commit

Permalink
robust artifact finding
Browse files Browse the repository at this point in the history
instead of a hardcoded ref,
find the installer.exe by file name
ending.
  • Loading branch information
florianesser-tng committed Nov 20, 2024
1 parent 47e9d9a commit 2d32b20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ jobs:
npm run build:arc
- name: set release path
working-directory: "release"
run: |
echo "INSTALLER_EXE_PATH=$((Resolve-Path -Path '.\release\AI Playground-1.22.1-beta-For-arc.exe').Path)"
echo "INSTALLER_EXE_PATH=$((Resolve-Path -Path '.\release\AI Playground-1.22.1-beta-For-arc.exe').Path)" >> $env:GITHUB_ENV
echo "INSTALLER_EXE_PATH=$(Get-ChildItem -Path . -Filter *.exe | Select-Object -ExpandProperty FullName)"
echo "INSTALLER_EXE_PATH=$(Get-ChildItem -Path . -Filter *.exe | Select-Object -ExpandProperty FullName)" >> $env:GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 2d32b20

Please sign in to comment.