Bump the dependencies group with 3 updates #257
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make XCFramework | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Pods XCFramework | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
arguments: all:assembleKbskyXCFramework all:podPublishXCFramework -x test | |
- name: Set Project Version | |
run: | | |
project_version=$(./gradlew version --no-daemon --console=plain -q) | |
echo "PROJECT_VERSION=$project_version" >> $GITHUB_ENV | |
- name: Commit Pods to GitHub | |
if: github.ref == 'refs/heads/main' | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Akihiro Urushihara" | |
cd ./all/build/cocoapods/repository/ | |
git init | |
git add --all | |
git commit -m "by GitHub Action CI (SHA ${GITHUB_SHA})" | |
git remote add origin https://${GH_TOKEN}@github.com/uakihir0/kbsky-cocoapods.git | |
git push -f origin HEAD:${{ env.PROJECT_VERSION }} | |
git push -f origin HEAD:main |