Skip to content

Commit

Permalink
dump environment for debugging
Browse files Browse the repository at this point in the history
fix filename
  • Loading branch information
sidey79 committed Dec 2, 2023
1 parent 42ce8c6 commit dd944a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
path: |
./tests/build/_deps/
key: cmake-deps

- name: cmake prepareBuild
working-directory: ./tests/build
run: cmake -DCMAKE_BUILD_TYPE=Release ..
Expand Down Expand Up @@ -87,6 +87,9 @@ jobs:
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4

- name: Run PlatformIO and compile sketch
id: compile_sketch
run: |
Expand Down
4 changes: 2 additions & 2 deletions extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
)

if (reftype == 'branch') :
build_version = basetag+os.environ.get('GITHUB_HEAD_REF')+"+"+date
build_version = basetag+os.environ.get('GITHUB_REF_SLUG')+"+"+date
elif (reftype == 'tag') :
build_version = os.environ.get('GITHUB_REF_NAME',basetag+"+"+date)
build_version = os.environ.get('GITHUB_REF_SLUG',basetag+"+"+date)
else:
build_version = basetag+"+"+date

Expand Down

0 comments on commit dd944a4

Please sign in to comment.