File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ jobs:
2121 with :
2222 name : HostInstall
2323 - id : convert-version
24- run : echo "${{ inputs.version }}" | sed -e 's/v/version=/' -e 's/\(.*\)\/merge/version=\0 /' >> $GITHUB_OUTPUT
25- - run : tar -zxvf Postmaster-${{ steps.convert- version.outputs.version }} -Linux.tar.gz
24+ run : echo "${{ inputs.version }}" | sed -e 's/v/version=/' -e 's/\(.*\)\/merge/version=\1 /' >> $GITHUB_ENV
25+ - run : tar -zxvf Postmaster-$version-Linux.tar.gz
2626 - run : mkdir install
27- - run : mv Postmaster-${{ steps.convert- version.outputs.version }} -Linux/* install/
27+ - run : mv Postmaster-$version-Linux/* install/
2828 - uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
2929 with :
3030 name : postmaster
31- - run : tar -zxvf Postmaster-${{ steps.convert- version.outputs.version }} -Generic-ELF.tar.gz
32- - run : cp -r Postmaster-${{ steps.convert- version.outputs.version }} -Generic-ELF/* install/
31+ - run : tar -zxvf Postmaster-$version-Generic-ELF.tar.gz
32+ - run : cp -r Postmaster-$version-Generic-ELF/* install/
3333 - run : install/bin/postmaster.upgrade_pack_builder --app=install/bin/postmaster.postmaster_stm32f407.hex --output=Postmaster-${{ inputs.version }}.upg
3434 - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3535 with :
You can’t perform that action at this time.
0 commit comments