Skip to content

Commit

Permalink
fix(ci): Fix tags/releases for Attach .xcframework CI action (#5423)
Browse files Browse the repository at this point in the history
* fix(ci): add token to ghr call in xcframework build action

* fix(ci): --tags instead of -tag on xcframework github action

* fix(ci): Set fetch-depth to 0 to allow for tags in xcframework action
  • Loading branch information
thomasvidas committed Feb 9, 2022
1 parent 5573a77 commit 57b3df3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-xcframework.yml
Expand Up @@ -13,6 +13,7 @@ jobs:
node-version: 14.x
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: native-publish
- name: Build Capacitor.xcframework
run: carthage build --no-skip-current --use-xcframeworks
Expand All @@ -30,4 +31,4 @@ jobs:
zip -r Capacitor.xcframework.zip Carthage/Build
rm -rf ios/CapacitorCordova/CapacitorCordova.xcframework
- name: Attach ZIP to latest release
run: ghr -t ${{ secrets.GITHUB_TOKEN }} -replace $(git describe -tags --abbrev=0) Capacitor.xcframework.zip
run: ghr -t ${{ secrets.GITHUB_TOKEN }} -replace $(git describe --tags --abbrev=0) Capacitor.xcframework.zip

0 comments on commit 57b3df3

Please sign in to comment.