Skip to content

Commit

Permalink
chore-update-eas-and-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
IZUMI-Zu committed Sep 29, 2024
1 parent e3f7ab5 commit a10ce42
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 28 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:
jobs:
build-apk:
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"

- name: set up JDK 18
uses: actions/setup-java@v4
Expand All @@ -39,24 +39,24 @@ jobs:
name: casdoorapp.apk
path: android/app/build/outputs/apk/release/

semantic-release:
needs: [build-apk]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Download Android build artifacts
uses: actions/download-artifact@v4
with:
name: casdoorapp.apk
path: release/android/

- name: Run semantic-release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# semantic-release:
# needs: [build-apk]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20.x

# - name: Download Android build artifacts
# uses: actions/download-artifact@v4
# with:
# name: casdoorapp.apk
# path: release/android/

# - name: Run semantic-release
# run: npm run release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 3 additions & 5 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "org.casdoor.casdoorapp",
Expand All @@ -34,7 +32,7 @@
},
"extra": {
"eas": {
"projectId": "c02d2dfe-dd43-46ff-8a3e-e384fbc95b1d"
"projectId": "d0ddea88-9be6-46db-8aa5-ea6d80cef527"
}
},
"plugins": [
Expand All @@ -52,6 +50,6 @@
],
"expo-asset"
],
"owner": "casdoor"
"owner": "zzbs"
}
}

0 comments on commit a10ce42

Please sign in to comment.