forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1when:
2 - event: ["manual"]
3 branch: ["main"]
4
5engine: "nixery"
6
7dependencies:
8 nixpkgs:
9 - nodejs-slim_20
10 - yarn
11 - temurin-jre-bin-17
12 - gradle
13 - androidenv.androidPkgs.ndk-bundle
14 - justbuild
15
16steps:
17 - name: Install dependencies
18 command: "yarn install --frozen-lockfile"
19
20 - name: Copy example build settings
21 command: |
22 cp .env.example .env
23 cp google-services.json.example google-services.json
24
25 - name: Build
26 command: "just dist-build-android-gradle"
27
28 - name: Rename APK
29 command: |
30 mv android/app/build/outputs/apk/release/app-release.apk android/app/build/outputs/apk/release/witchsky-v${{ github.run_number }}.apk
31
32 - name: Upload artifact
33 uses: actions/upload-artifact@v4
34 with:
35 name: android
36 path: android/app/build/outputs/apk/release/witchsky-v${{ github.run_number }}.apk
37
38 - name: Publish release
39 uses: softprops/action-gh-release@v2
40 if: github.ref == 'refs/heads/main'
41 with:
42 name: Witchsky v${{ github.run_number }}
43 tag_name: witchsky-v${{ github.run_number }}
44 files: android/app/build/outputs/apk/release/witchsky-v${{ github.run_number }}.apk