updated build action

new day ...
This commit is contained in:
dj2ls 2022-02-25 09:28:42 +01:00
parent 2e66d3d836
commit a358560c9f
5 changed files with 23 additions and 18 deletions

View file

@ -109,6 +109,7 @@ jobs:
node-version: 16
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
@ -124,3 +125,4 @@ jobs:
with:
draft: true
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip

View file

@ -97,6 +97,12 @@ jobs:
with:
node-version: 16
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: false
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
@ -107,9 +113,4 @@ jobs:
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip

View file

@ -96,6 +96,11 @@ jobs:
with:
node-version: 16
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: ./tnc/dist/tnc/${{ matrix.zip_name }}.zip
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
@ -106,9 +111,4 @@ jobs:
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Release TNC
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: ./tnc/dist/tnc/${{ matrix.zip_name }}.zip

View file

@ -35,7 +35,7 @@
"chart.js": "^3.5.1",
"chartjs-plugin-annotation": "^1.0.2",
"electron-log": "^4.4.6",
"electron-updater": "^4.6.5",
"electron-updater": "^5.0.0",
"qth-locator": "^2.1.0"
},
"devDependencies": {

View file

@ -1030,6 +1030,8 @@ class DATA():
ping_frame[5:13] = helpers.callsign_to_bytes(static.MYCALLSIGN)
txbuffer = [ping_frame]
print(helpers.callsign_to_bytes(static.MYCALLSIGN))
print(txbuffer)
static.TRANSMITTING = True
modem.MODEM_TRANSMIT_QUEUE.put([14,1,0,txbuffer])
# wait while transmitting