Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
git submodule update --init --recursive libchewing

- name: Setup Android NDK
uses: android-actions/setup-android@v3
uses: android-actions/setup-android@v4
with:
packages: "ndk;${{ env.NDK_VERSION }} cmake;${{ env.CMAKE_VERSION }}"

Expand All @@ -77,19 +77,18 @@ jobs:

- name: Upload prebuilt to artifact
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
path: build/prebuilt.tar.zst
compression-level: 0
archive: false

- name: Fetch fcitx5-android/prebuilt
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: actions/checkout@v6
with:
path: prebuilt
repository: fcitx5-android/prebuilt
fetch-depth: 0
persist-credentials: false
token: ${{ secrets.PREBUILT_PUSH_TOKEN }}

- name: Push to fcitx5-android/prebuilt
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand All @@ -100,7 +99,6 @@ jobs:
do
cp -a "../build/$TARGET" ./
done
git remote set-url origin "https://${{ secrets.BOT_TOKEN }}@github.com/fcitx5-android/prebuilt.git"
git config user.name "Fcitx5 Android Bot"
git config user.email "102923727+fcitx5-android-bot@users.noreply.github.com"
git add .
Expand Down