File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -88,14 +88,16 @@ runs:
8888 working-directory : ${{ github.action_path }}
8989 shell : bash
9090 run : |
91+ # save the runner OS to a variable in lower case
92+ os_name=$(echo ${{ runner.os }} | tr '[:upper:]' '[:lower:]')
9193 # setup the python environment
9294 ${{ steps.id_python_310.outputs.python-path }} -m pip install -r requirements.txt
9395 # we need to clone v4.7.0 of esptool into the repo to ensure all of its data is properly packaged
9496 git clone --depth 1 --branch v4.7.0 https://github.com/espressif/esptool
9597 # now build the installer
9698 ${{ steps.id_python_310.outputs.python-path }} -m PyInstaller --clean programmer.spec
9799 # now actually make the artifact
98- artifact_name="${{ inputs.programmer-name }}_${{ env.version_str }}_${{ runner.os.lower() } }.bin"
100+ artifact_name="${{ inputs.programmer-name }}_${{ env.version_str }}_${os_name }.bin"
99101 mv dist/programmer $artifact_name
100102 echo "artifactName=$artifact_name" >> "$GITHUB_ENV"
101103
You can’t perform that action at this time.
0 commit comments