Skip to content

Commit

Permalink
Change build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
terry-haire committed Oct 10, 2023
1 parent 23b4eec commit 1b2c4c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ jobs:
7z x jom.zip -ojom
- name: Create build directory
run: mkdir ${{ env.SOURCE_DIR }}\build\nifskope_converter
run: mkdir ${{ env.SOURCE_DIR }}\bin

- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64

- name: Build NifSkope
working-directory: ${{ env.SOURCE_DIR }}\build\nifskope_converter
working-directory: ${{ env.SOURCE_DIR }}\bin
run: |
qmake -r ${{ env.SOURCE_DIR }}\NifSkope.pro
${{ runner.temp }}\jom\jom -j2
cd release
windeployqt --dir ${{ env.SOURCE_DIR }}\build\nifskope_converter\release --qmldir ${{ env.SOURCE_DIR }} NifSkope.exe --pdb --release --compiler-runtime
windeployqt --dir ${{ env.SOURCE_DIR }}\bin\release --qmldir ${{ env.SOURCE_DIR }} NifSkope.exe --pdb --release --compiler-runtime
copy C:\Windows\System32\concrt140.dll .
copy C:\Windows\System32\vccorlib140.dll .
copy C:\Windows\System32\msvcp140.dll .
Expand All @@ -77,7 +77,7 @@ jobs:
with:
name: ${{ env.ARTIFACT }}
path: |
${{ env.SOURCE_DIR }}\build\nifskope_converter\release\
${{ env.SOURCE_DIR }}\bin\release\
release:
if: github.event_name == 'push' && github.ref == 'refs/heads/converter'
Expand Down

0 comments on commit 1b2c4c7

Please sign in to comment.