Skip to content

Commit

Permalink
Build Mutliple versions (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
no-1-noob authored Jun 20, 2024
1 parent 5a80f7f commit 7d52c1e
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/createbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [master]
branches: [master, multiCI]
tags: v*
pull_request:
branches: [master]
Expand Down Expand Up @@ -136,6 +136,27 @@ jobs:
run: |
Copy-Item -Path "$env:TEMP\unzipped\*" -Destination "${{ github.workspace }}/Refs" -Recurse -Force
shell: pwsh

- name: Download ZIP file
run: |
Invoke-WebRequest -Uri "https://github.com/NuggoDEV/CountersPlus/releases/download/2.3.5/Counters+-2.3.5-bs1.34.2-7b8c995.zip" -OutFile "$env:TEMP\CPLUS.zip"
shell: pwsh

- name: Unzip file
run: |
Expand-Archive -Path "$env:TEMP\CPLUS.zip" -DestinationPath "$env:TEMP\cplusunzipped"
shell: pwsh

- name: List files
run: |
Get-ChildItem -Path "$env:TEMP\cplusunzipped"
shell: pwsh

- name: Copy files to repository
run: |
Copy-Item -Path "$env:TEMP\cplusunzipped\*" -Destination "${{ github.workspace }}/Refs" -Recurse -Force
shell: pwsh

- name: Build
id: Build
run: msbuild ${{ github.workspace }}/PauseCommander.sln /property:Configuration=Release
Expand Down Expand Up @@ -179,7 +200,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: 'master'
ref: '1_35'
submodules: recursive
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
Expand Down

0 comments on commit 7d52c1e

Please sign in to comment.