From 375d4be7e8ab2dd4587c40c9c0537512f40cdc5e Mon Sep 17 00:00:00 2001 From: Todd Anderson Date: Wed, 13 Dec 2023 10:37:37 -0600 Subject: [PATCH] build test --- .github/workflows/ci.yml | 3 +- .../{manual-publish.yml => publish.yml} | 28 ++++++++++++------- 2 files changed, 19 insertions(+), 12 deletions(-) rename .github/workflows/{manual-publish.yml => publish.yml} (85%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0deaac96..7139fb87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,9 @@ jobs: permissions: id-token: write contents: read - steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # If you only need the current version keep this. - - uses: ./.github/actions/publish \ No newline at end of file + - uses: ./.github/actions/ci \ No newline at end of file diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/publish.yml similarity index 85% rename from .github/workflows/manual-publish.yml rename to .github/workflows/publish.yml index c7a31ab3..d61ca2e3 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/publish.yml @@ -1,15 +1,23 @@ name: Publish Package on: - workflow_dispatch: - inputs: - prerelease: - description: 'Is this a prerelease.' # use this to control publish tag, for instance NPM wouldn't set latest. - type: boolean - required: true - dry_run: - description: 'Is this a dry run. If so no package will be published.' - type: boolean - required: true + push: + branches: [ ta/sc-222947/maui-support-squashed-build-testing ] + paths-ignore: + - '**.md' #Do not need to run CI for markdown changes. + pull_request: + branches: [ ta/sc-222947/maui-support-squashed-build-testing ] + paths-ignore: + - '**.md' + # workflow_dispatch: + # inputs: + # prerelease: + # description: 'Is this a prerelease.' # use this to control publish tag, for instance NPM wouldn't set latest. + # type: boolean + # required: true + # dry_run: + # description: 'Is this a dry run. If so no package will be published.' + # type: boolean + # required: true jobs: build-publish: