add echo test #70
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 | |
on: [push] | |
env: | |
app-path: ./Test/App | |
sln-name: ./Test.sln | |
version: 0.6.13 | |
jobs: | |
build: | |
name: MSBuild | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
# OpenSiv3D セットアップ | |
- name: Setup s3d | |
run: | | |
bitsadmin /transfer s3d-download "https://siv3d.jp/downloads/Siv3D/manual/${{ env.version }}/OpenSiv3D_SDK_${{ env.version }}.zip" "C:\OpenSiv3D_SDK.zip" | |
Expand-Archive -Path "C:\OpenSiv3D_SDK.zip" -DestinationPath "C:" | |
shell: powershell | |
- name: Set Env | |
run: | | |
$s3dVersion = "${{ env.version }}" | |
$s3dVersionEnv = "SIV3D_" + $s3dVersion.Replace('.', '_') | |
$setCommand = "set $s3dVersionEnv=C:\OpenSiv3D_SDK_${{ env.version }}" | |
Invoke-Expression $setCommand | |
echo $s3dVersion | |
echo $s3dVersionEnv | |
echo $setCommand | |
echo %SIV3D_0_6_13% | |
shell: powershell | |
# ビルド | |
- name: MSBuild | |
run: msbuild ${{env.sln-name}} -p:Configuration=Release;Platform="x64" | |
shell: cmd | |
# ビルド結果をアップロード | |
- name: Upload artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: build-result | |
path: ${{env.app-path}} | |