Skip to content

Commit

Permalink
add workflow-tester47
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Jul 28, 2022
1 parent e38ad99 commit 732cef4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/49-rename-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,4 @@ jobs:
steps:
- name: env list
run: env
- run: echo $GITHUB_REF_NAME

job2:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: echo $GITHUB_REF_NAME
- run: install -Dv /dev/null ./Code/.pio/build/attiny841/firmware.hex
- run: echo "test" >> ./Code/.pio/build/attiny841/firmware.hex
- run: mv ./Code/.pio/build/attiny841/firmware.hex ./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
- run: cat ./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
- run: |
FILENAME=./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
echo $FILENAME
echo "FILENAME=$FILENAME" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ env.FILENAME }}
- run: echo $GITHUB_REF_NAME
11 changes: 11 additions & 0 deletions .github/workflows/workflow-tester47.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Test 47

on:
workflow_dispatch:

jobs:
job1:
runs-on: windows-latest
steps:
- run: c:\windows\system32\wbem\wmic.exe csproduct get uuid

0 comments on commit 732cef4

Please sign in to comment.