Skip to content

Commit

Permalink
Create blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargo authored Jan 9, 2024
1 parent 4358659 commit 93fe6c8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test linux job
on:
push

jobs:
testJob:
name: Test
runs-on: ubuntu-latest
steps:
- id: set_var
run: |
content=`cat ./Debug`
# the following lines are only required for multi line json
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
# end of optional handling for multi line json
echo "::set-output name=packageJson::$content"
- run: |
echo "${{fromJson(steps.set_var.outputs.packageJson).version}}"

0 comments on commit 93fe6c8

Please sign in to comment.