Skip to content

Commit

Permalink
fix(ci): enable corepack/upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Apr 22, 2024
1 parent 3b839f3 commit cb8e6a2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'microsoft'
Expand All @@ -57,7 +59,7 @@ jobs:
mv app-x86-debug.apk RVMob-Debug-${{ github.sha }}-x86.apk
working-directory: /home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/
- name: Upload debug APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: |
/home/runner/work/rvmob/rvmob/android/app/build/outputs/apk/debug/RVMob-Debug-${{ github.sha }}-arm64-v8a.apk
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Build the site
run: yarn web-release
- name: Set up Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload built files
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit cb8e6a2

Please sign in to comment.