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

@ -107,8 +107,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
@ -123,4 +124,5 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip

View file

@ -97,7 +97,13 @@ 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
with:
@ -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,7 +96,12 @@ 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
with:
@ -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