From c8f0d45ec40345ebd1c4bd5fbdc70136c51bb31b Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Mon, 18 Dec 2023 08:04:33 -0600 Subject: [PATCH] Testing the PyPI release !minor --- .github/actions/release/action.yaml | 12 ++++++------ .github/workflows/version.yaml | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/actions/release/action.yaml b/.github/actions/release/action.yaml index 6c16bc3b..eff5d9bf 100644 --- a/.github/actions/release/action.yaml +++ b/.github/actions/release/action.yaml @@ -27,12 +27,12 @@ runs: with: name: release-notes - - name: Create a GitHub release - uses: softprops/action-gh-release@v1 - with: - files: dist/* - tag_name: "${{ env.TAG_NAME }}" - body_path: release-notes.md +# - name: Create a GitHub release +# uses: softprops/action-gh-release@v1 +# with: +# files: dist/* +# tag_name: "${{ env.TAG_NAME }}" +# body_path: release-notes.md - name: Upload package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 8804dad9..f771b04c 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -39,9 +39,10 @@ jobs: id: pr run: | PR_NUMBER=$(gh pr view --json number -q .number || echo "") - echo "::set-output name=pull_request_number::${PR_NUMBER}" + echo "pull_request_number=${PR_NUMBER}" >> $GITHUB_OUTPUT echo "::notice::PR_NUMBER is ${PR_NUMBER}" echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV + echo "::notice::event number is ${{ github.event.number }}" env: GITHUB_TOKEN: ${{ secrets.PAT }}