From: Soeren Apel Date: Mon, 4 Mar 2024 22:26:40 +0000 (+0100) Subject: build.yml: Release test using action-gh-release X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=5f5c471e287cb88d49488e0ad3917487ab297113;p=sigrok-build.git build.yml: Release test using action-gh-release --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da4ed95..05f058b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -496,6 +496,34 @@ jobs: path: sigrok-build/ci/macos/sigrok-cli*.dmg overwrite: true + release: + name: Create release and add artifacts + + runs-on: ubuntu-latest + + if: | + (github.event_name == 'push' && github.ref == 'refs/heads/master') || + (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master') + needs: + - build_pulseview_mxe + - build_sigrok-cli_mxe +# - build_pulseview_appimage +# - build_sigrok-cli_appimage +# - build_pulseview_macos +# - build_sigrok-cli_macos + + steps: + - name: Create release + id: create_release + uses: softprops/action-gh-release@v1 + with: + files: | + artifact-pulseview-mxe + artifact-sigrok-cli-mxe + tag_name: continuous + generate_release_notes: false + draft: false + publish: name: sigrok artifacts publish