Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Flowgraphs -> flowcharts and properly export upload_url
Browse files Browse the repository at this point in the history
  • Loading branch information
Xerbo committed Sep 9, 2021
1 parent 15fc1ac commit 509b641
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create release
name: Release

on:
push:
Expand All @@ -13,6 +13,8 @@ env:
jobs:
prepare_release:
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}

steps:
- name: Create Release
Expand Down Expand Up @@ -44,7 +46,7 @@ jobs:
- name: Upload flowcharts
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ needs.prepare_release.outputs.upload_url }}
asset_path: ./Flowcharts.zip
asset_name: Flowcharts.zip
asset_content_type: application/zip
Expand Down Expand Up @@ -129,7 +131,7 @@ jobs:
- name: Upload AppImage
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ needs.prepare_release.outputs.upload_url }}
asset_path: ./LeanHRPT_Decode-x86_64.AppImage
asset_name: LeanHRPT_Decode-x86_64.AppImage
asset_content_type: application/x-executable
Expand Down Expand Up @@ -215,7 +217,12 @@ jobs:
cp $WIN_TEMP_PATH/plugins/platforms/qwindows.dll LeanHRPT-Decode/platforms/ &&
zip -r LeanHRPT-Decode.zip LeanHRPT-Decode/'

- uses: actions/upload-artifact@v2
- name: Upload zip
uses: actions/upload-release-asset@v1
with:
name: LeanHRPT_Decode-x86_64-w64
path: ./LeanHRPT-Decode.zip
upload_url: ${{ needs.prepare_release.outputs.upload_url }}
asset_path: ./LeanHRPT-Decode.zip
asset_name: LeanHRPT_Decode-x86_64-w64.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ github.token }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ build/
# VSCode
.vscode/

# Compiler flowcharts
Flowgraphs/*.py
# Compiled flowcharts
Flowcharts/*.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ blocks:
minoutbuf: '0'
order: '4'
use_snr: 'False'
w: '0.002'
w: '0.005'
states:
bus_sink: false
bus_source: false
Expand Down
6 changes: 3 additions & 3 deletions Flowgraphs/MetOp Demod.grc → Flowcharts/MetOp Demod.grc
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ blocks:
minoutbuf: '0'
order: '4'
use_snr: 'False'
w: '0.002'
w: '0.005'
states:
bus_sink: false
bus_source: false
Expand Down Expand Up @@ -503,8 +503,8 @@ connections:
- [analog_agc_xx_0, '0', qtgui_freq_sink_x_0, '0']
- [analog_agc_xx_0, '0', root_raised_cosine_filter_0, '0']
- [analog_rail_ff_0, '0', blocks_float_to_char_0, '0']
- [blocks_complex_to_float_0, '0', blocks_interleave_0, '1']
- [blocks_complex_to_float_0, '1', blocks_interleave_0, '0']
- [blocks_complex_to_float_0, '0', blocks_interleave_0, '0']
- [blocks_complex_to_float_0, '1', blocks_interleave_0, '1']
- [blocks_file_source_1, '0', analog_agc_xx_0, '0']
- [blocks_float_to_char_0, '0', blocks_file_sink_0, '0']
- [blocks_float_to_complex_0, '0', analog_agc_xx_0, '0']
Expand Down

0 comments on commit 509b641

Please sign in to comment.