From a0edca7504572773b8ec7a67b10641ab81f2ed07 Mon Sep 17 00:00:00 2001 From: Saschl Date: Sun, 1 Oct 2023 20:57:10 +0200 Subject: [PATCH] add fragments in master workflow --- .github/workflows/master.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 1985a95df9a..4cf4754e7c4 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -67,19 +67,20 @@ jobs: # uses: actions/upload-release-asset@v1.0.2 # env: # GITHUB_TOKEN: ${{ github.token }} - run: gh release upload ${{ env.MASTER_PRE_RELEASE_TAG }} '*' + run: gh release upload ${{ env.MASTER_PRE_RELEASE_TAG }} ./${{ env.BUILD_DIR_NAME }}/${{ env.MASTER_ZIP_NAME }} #with: # upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.MASTER_PRE_RELEASE_ID }}/assets{?name,label} # asset_path: ./${{ env.BUILD_DIR_NAME }}/${{ env.MASTER_ZIP_NAME }} # asset_name: ${{ env.MASTER_ZIP_NAME }} # asset_content_type: application/zip - # - name: Upload fragments to GitHub Pre-Release Assets - # uses: dwenegar/upload-release-assets@v1 - # env: - # GITHUB_TOKEN: ${{ github.token }} - # with: - # release_id: ${{ env.MASTER_PRE_RELEASE_ID }} - # assets_path: ./fbw-a32nx/out/build-modules + - name: Upload fragments to GitHub Pre-Release Assets + #uses: dwenegar/upload-release-assets@v1 + run: gh release upload ${{ env.MASTER_PRE_RELEASE_TAG }} ./fbw-a32nx/out/build-modules/* + env: + GITHUB_TOKEN: ${{ github.token }} + # with: + # release_id: ${{ env.MASTER_PRE_RELEASE_ID }} + # assets_path: ./fbw-a32nx/out/build-modules # - name: Update GitHub Pre-Release Body # run: | # curl --request PATCH \