Skip to content

Commit 69430e8

Browse files
committed
Fix fetch latest version job
1 parent b1ca5cf commit 69430e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/prepare.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
1414
fetch-depth: 0
1515
- name: Fetch the lastest release version
1616
id: fetch_latest_release
17-
uses: thebritican/fetch-latest-release@v2
17+
uses: pozetroninc/github-action-get-latest-release@master
1818
with:
19-
github_token: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
19+
repository: ${{ github.repository }}
20+
excludes: prerelease, draft
2021
- uses: actions/checkout@v2
2122
with:
2223
repository: pusher/actions
@@ -25,7 +26,7 @@ jobs:
2526
- uses: ./.github/actions/prepare-version-bump
2627
id: bump
2728
with:
28-
current_version: ${{ steps.fetch_latest_release.outputs.tag_name }}
29+
current_version: ${{ steps.fetch_latest_release.outputs.release }}
2930
- uses: actions/setup-node@v3
3031
- name: "Bump podspec versions"
3132
run: |

0 commit comments

Comments
 (0)