Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
java-version: '21'

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '20'

Expand All @@ -34,10 +34,10 @@
cd apk-wrapper
npm init -y
npm install @capacitor/core @capacitor/cli @capacitor/android
npx cap init "API-Master" "com.itsrkmahapatra.apimaster" --web-dir www

Check warning on line 37 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (apimaster)

Check warning on line 37 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (itsrkmahapatra)
mkdir www
echo "<html><body>Loading...</body></html>" > www/index.html
echo '{ "appId": "com.itsrkmahapatra.apimaster", "appName": "API-Master", "webDir": "www", "server": { "url": "https://itsrkmahapatra.github.io/API-Master?v=1780753094", "cleartext": true } }' > capacitor.config.json

Check warning on line 40 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (apimaster)

Check warning on line 40 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (itsrkmahapatra)
npx cap add android

- name: Add App Icon
Expand All @@ -52,9 +52,9 @@
- name: Build Android APK
run: |
cd apk-wrapper/android
chmod +x gradlew

Check warning on line 55 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (gradlew)
echo "configurations.all { exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk7'; exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8' }" >> app/build.gradle

Check warning on line 56 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stdlib)

Check warning on line 56 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stdlib)
./gradlew assembleDebug

Check warning on line 57 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (gradlew)

- name: Rename APK
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
uses: actions/checkout@v7

- name: Setup Node
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '20'

Expand All @@ -35,7 +35,7 @@
echo "app.whenReady().then(createWindow);" >> main.js

Copy-Item -Path '../logo.png' -Destination 'icon.png'
node -e "const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json')); pkg.main = 'main.js'; pkg.author = 'Raj Kishor Mahapatra'; pkg.build = { appId: 'com.itsrkmahapatra.api-master', productName: 'API-Master', win: { target: 'nsis', icon: 'icon.png' } }; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));"

Check warning on line 38 in .github/workflows/build-exe.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Kishor)

npx electron-builder --win

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '20'
- name: Run NPM Audit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
Loading