From 9fed2fa4c5d0c74fadff59c9e60e4ee09d692f6d Mon Sep 17 00:00:00 2001 From: Az-r-ow Date: Sun, 10 Mar 2024 14:11:57 +0100 Subject: [PATCH] fix: changed checkout version for bump workflow --- .github/workflows/bump_version.yml | 5 +++-- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 35d42da..8571bd7 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -12,9 +12,10 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v3 with: - ref: ${{ github.ref_name }} + ref: ${{ github.event.pull_request.merge_commit_sha}} + fetch-depth: "0" - name: Bump Version and Push tag uses: anothrNick/github-tag-action@1.67.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8218201..ebc1554 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.9", "3.10"] steps: