From d8bdb581c551d53a7fb8cf774c5e2b15554d25ee Mon Sep 17 00:00:00 2001 From: Luke Morales Date: Fri, 4 Nov 2022 09:59:56 -0300 Subject: [PATCH] ci: add workflow_dispatch to pipeline --- .changeset/odd-boxes-begin.md | 5 +++++ .github/workflows/release.yml | 13 ++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .changeset/odd-boxes-begin.md diff --git a/.changeset/odd-boxes-begin.md b/.changeset/odd-boxes-begin.md new file mode 100644 index 0000000..8e77499 --- /dev/null +++ b/.changeset/odd-boxes-begin.md @@ -0,0 +1,5 @@ +--- +'@lukemorales/query-key-factory': patch +--- + +Fix wrong published types for contextual queries diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fbf01a..4019729 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,13 @@ on: push: branches: - main + workflow_dispatch: + inputs: + forceGPR: + description: Force GPR release + type: boolean + required: false + default: false jobs: install-deps: @@ -119,8 +126,8 @@ jobs: cache: 'pnpm' registry-url: 'https://registry.npmjs.org' - - name: 🗃️ Create .npmrc - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc + # - name: 🗃️ Create .npmrc + # run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - name: 👤 Set git user run: | @@ -143,7 +150,7 @@ jobs: gpr-release: name: 🚀 Release to GitHub Package Manager - if: needs.release.outputs.published == 'true' + if: github.event.inputs.forceGPR == 'true' || needs.release.outputs.published == 'true' runs-on: ubuntu-latest needs: [build, release] permissions: