|
@@ -50,21 +50,23 @@ jobs:
|
|
|
runs-on: [self-hosted, macOS]
|
|
|
steps:
|
|
|
- name: Check out Git repository
|
|
|
- uses: actions/checkout@v2
|
|
|
+ uses: actions/checkout@v3
|
|
|
with:
|
|
|
ref: ${{ github.event.inputs.git-ref }}
|
|
|
|
|
|
- name: Install Node.js, NPM and Yarn
|
|
|
- uses: actions/setup-node@v2
|
|
|
+ uses: actions/setup-node@v3
|
|
|
with:
|
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
|
|
|
|
+ - run: npm install -g yarn
|
|
|
+
|
|
|
- name: Get yarn cache directory path
|
|
|
id: yarn-cache-dir-path
|
|
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
|
|
|
|
- name: Cache yarn cache directory
|
|
|
- uses: actions/cache@v2
|
|
|
+ uses: actions/cache@v3
|
|
|
id: yarn-cache
|
|
|
with:
|
|
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
|
@@ -73,13 +75,13 @@ jobs:
|
|
|
${{ runner.os }}-yarn-
|
|
|
|
|
|
- name: Setup Java JDK
|
|
|
- uses: actions/setup-java@v2
|
|
|
+ uses: actions/setup-java@v3
|
|
|
with:
|
|
|
distribution: 'zulu'
|
|
|
java-version: ${{ env.JAVA_VERSION }}
|
|
|
|
|
|
- name: Cache clojure deps
|
|
|
- uses: actions/cache@v2
|
|
|
+ uses: actions/cache@v3
|
|
|
with:
|
|
|
path: |
|
|
|
~/.m2/repository
|
|
@@ -159,7 +161,7 @@ jobs:
|
|
|
mv android/app-signed.apk ./builds/Logseq-android-${{ steps.ref.outputs.version }}.apk
|
|
|
|
|
|
- name: Upload Artifact
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
+ uses: actions/upload-artifact@v3
|
|
|
with:
|
|
|
name: logseq-android-builds
|
|
|
path: builds
|