Skip to content

Commit

Permalink
Create test_bug.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anr2me committed Dec 26, 2023
1 parent 105b553 commit 0697b2e
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/test_bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Testing Bug
on:
workflow_dispatch:
inputs:

buildConfiguration:
type: choice
description: 'Build Configuration'
required: true
default: 'Release'
options:
- Release
- Debug

buildPlatform:
type: choice
description: 'Build Platform'
required: true
default: 'x64'
options:
- x64
- ARM64
- ARM

jobs:

build-uwp:
name: Generate ${{ github.event.inputs.buildConfiguration }} UWP
runs-on: windows-latest

steps:
#- uses: actions/checkout@v3
# with:
# fetch-depth: 0
# submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Testing values
run: |
# Testing values ...
env
echo "Content of [env.GITHUB_WORKSPACE] = ${env.GITHUB_WORKSPACE}"
echo "Content of [[env.GITHUB_WORKSPACE]] = ${{env.GITHUB_WORKSPACE}}"
echo "Content of [env:GITHUB_WORKSPACE] = ${env:GITHUB_WORKSPACE}"
# echo "Content of [[env:GITHUB_WORKSPACE]] = ${{env:GITHUB_WORKSPACE}}" # This line (commented or not) will make this YML file to be invalid and showing an error at the wrong line (a bug in the YAML parser may be?)
echo "Content of [github.workspace] = ${github.workspace}"
echo "Content of [[github.workspace]] = ${{github.workspace}}"
echo "one ${ github.event.inputs.buildPlatform }"
echo ${{github.workspace}}
echo "two ${{ github.event.inputs.buildPlatform }}"
echo $env:GITHUB_WORKSPACE

0 comments on commit 0697b2e

Please sign in to comment.