Skip to content

Commit 5f2fc90

Browse files
calvincestarigh-action-runner
authored andcommitted
ci: Update publish-release workflow to use dynamic refs (#841)
1 parent bd34ff9 commit 5f2fc90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
repository: apollographql/apollo-ios-codegen
2828
path: "checkout/apollo-ios-codegen"
29-
ref: main
29+
ref: ${{ github.ref_name }}
3030

3131
# Setup SSH Keys
3232
- name: Setup SSH Keys
@@ -90,6 +90,6 @@ jobs:
9090
- name: Dispatch apollo-ios-xcframework
9191
shell: bash
9292
run: |
93-
gh workflow run release-new-version.yml -f remoteRef=${{ env.RELEASE_VERSION }} --repo "apollographql/apollo-ios-xcframework"
93+
gh workflow run release-new-version.yml -f localRef=${{ github.ref_name }} remoteRef=${{ env.RELEASE_VERSION }} --repo "apollographql/apollo-ios-xcframework"
9494
env:
9595
GH_TOKEN: ${{ secrets.APOLLO_IOS_PAT }}

0 commit comments

Comments
 (0)