From e45a2c8e744f4f9cdcf5e8fb7e8a76cfc4ac1245 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Thu, 17 Dec 2020 22:37:05 +0100 Subject: [PATCH] add json file to upload --- .github/workflows/release.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 476d9c0..1ccc28a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: false - # upload heltec_wifi_lora_32_v1 + # upload firmware bin - uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -34,4 +34,13 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: .pio/build/lora_board/firmware.bin asset_name: lora_board.bin - asset_content_type: application/bin \ No newline at end of file + asset_content_type: application/bin + # upload json file + - uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: data/is-cfg.json + asset_name: is-cfg.json + asset_content_type: application/json \ No newline at end of file