github workflow errors

changes to remove set::env
This commit is contained in:
marauder2k7 2023-07-26 07:22:36 +01:00
parent c33b220c5b
commit 220bb76600
2 changed files with 20 additions and 16 deletions

View file

@ -12,7 +12,7 @@ runs:
using: "composite" using: "composite"
steps: steps:
- name: Upload Torque Test Report - name: Upload Torque Test Report
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3.1.2
with: with:
name: ${{inputs.name}} name: ${{inputs.name}}
path: ${{inputs.path}} path: ${{inputs.path}}

View file

@ -1,4 +1,4 @@
name: Windows Build MSVC name: Windows Build
on: on:
push: push:
branches: [development] branches: [development]
@ -47,20 +47,24 @@ jobs:
cmake --version cmake --version
cmd "${{matrix.config.environment_script}}" cmd "${{matrix.config.environment_script}}"
- name: Configure Build - name: Configure
uses: ashutoshvarma/action-cmake-build@v1 shell: bash
with: run: |
build-dir: ${{github.workspace}}/build mkdir build
# will set the CC & CXX for cmake cmake \
cc: ${{matrix.config.cc}} -S ${{github.workspace}} \
cxx: ${{matrix.config.cxx}} -B ${{github.workspace}}/build \
build-type: ${{matrix.config.build_type}} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
# Extra options pass to cmake while configuring project -G "${{ matrix.config.generators }}" \
configure-options: -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
# install the build using cmake --install
install-build: false - name: Build
# run build using '-j [parallel]' to use multiple threads to build shell: bash
parallel: 14 run: cmake --build . --config ${{ matrix.config.build_type }}
- name: Install Strip
shell: bash
run: cmake --install
- name: Install - name: Install
run: cmake --install run: cmake --install