-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from jeremiah-k/windows-serial-fix
Windows serial port detection fix
- Loading branch information
Showing
2 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,19 +22,26 @@ jobs: | |
pip install -r requirements.txt | ||
pip install pyinstaller | ||
- name: Get version number | ||
id: get_version | ||
run: echo "::set-output name=version::${GITHUB_REF##*/}" | ||
|
||
- name: Build executable | ||
run: pyinstaller --name=mmrelay.exe --onefile --console main.py | ||
run: pyinstaller --name=mmrelay_${{ steps.get_version.outputs.version }}.exe --onefile --console main.py | ||
|
||
- name: Build installer | ||
uses: nadeemjazmawe/[email protected] | ||
with: | ||
filepath: "/DAppVersion=${{ github.ref_name }} ./mmrelay.iss" | ||
|
||
- name: Rename installer | ||
run: ren MMRelay_setup.exe MMRelay_setup_${{ steps.get_version.outputs.version }}.exe | ||
|
||
- name: Upload setup.exe to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: MMRelay_setup.exe | ||
asset_name: MMRelay_setup.exe | ||
file: MMRelay_setup_${{ steps.get_version.outputs.version }}.exe | ||
asset_name: MMRelay_setup_${{ steps.get_version.outputs.version }}.exe | ||
tag: ${{ github.ref }} | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters