Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Windows | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- '*Test*' | |
jobs: | |
Build: | |
name: ${{ matrix.config.name }} | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
config: | |
- name: Windows Dll x64 | |
BuildPlatform: x64 | |
BuildConfiguration: Release | |
OutputDirectory: Windows/PopH264_Release_x64 | |
- name: Windows Static x64 | |
BuildPlatform: x64 | |
BuildConfiguration: Static | |
OutputDirectory: Windows/PopH264_Static_x64 | |
- name: Windows Uwp x64 | |
BuildPlatform: "x64 Uwp" # Solution platform | |
BuildConfiguration: Release | |
OutputDirectory: Windows/PopH264_Uwp_Release_x64 | |
- name: Windows Uwp Arm64 | |
BuildPlatform: "ARM64 Uwp" # solution platform | |
BuildConfiguration: Release | |
OutputDirectory: Windows/PopH264_Uwp_Arm64 | |
- name: Windows Uwp Arm | |
BuildPlatform: "ARM Uwp" # solution platform | |
BuildConfiguration: Release | |
OutputDirectory: Windows/PopH264_Uwp_Arm | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Build ${{ matrix.config.name }} | |
id: Build | |
uses: NewChromantics/[email protected] | |
with: | |
BuildSolution: PopH264.visualstudio/PopH264.sln | |
BuildPlatform: ${{ matrix.config.BuildPlatform }} | |
BuildConfiguration: ${{ matrix.config.BuildConfiguration }} | |
OutputDirectory: ${{ github.workspace }}\${{ matrix.config.OutputDirectory }}\ # need an absolute path here, must end with trailing slash | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
# gr: newer versions of build action use outputs | |
#name: ${{ steps.Build.outputs.UPLOAD_NAME }} | |
name: ${{ matrix.config.name }} # different artifact names so they don't override eachother | |
path: ${{ steps.Build.outputs.UPLOAD_DIR }} | |
if-no-files-found: error |