Skip to content

Commit

Permalink
create runnerOS as steps output
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmj303 committed Jul 17, 2024
1 parent 6633d49 commit f06e9bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
enable-plugins: pyside6
user-package-configuration-file: ytmusicapi.nuitka-package.config.yaml

- name: lowercase the runner OS name
- id: runnerOS
env:
INPUT: ${{ runner.os }}
run: echo ::set-env name=RUNNER_OS::${INPUT,,}
run: echo "::set-output name=lower::${INPUT,,}"

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ytm2spt-${{ env.RUNNER_OS }}-build
name: ytm2spt-${{ steps.runnerOS.outputs.lower }}-build
path: | # match what's created for the 3 OSes
build/*.exe
build/*.bin
Expand Down

0 comments on commit f06e9bd

Please sign in to comment.