Skip to content
Merged
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
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
name: Build debug APK
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'

- name: Set up Android SDK
uses: android-actions/setup-android@v3

- name: Set up Gradle caching
uses: gradle/actions/setup-gradle@v4

- name: Build debug APK
run: ./gradlew assembleDebug --stacktrace

- name: Upload APK artifact
uses: actions/upload-artifact@v4
with:
name: app-debug-apk
path: app/build/outputs/apk/debug/app-debug.apk
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to WebShell will be documented here.

---

## [Unreleased]

### Added
- GitHub Actions CI (`.github/workflows/ci.yml`): builds a debug APK on every push/PR, validates the Gradle wrapper, caches Gradle, uploads the APK as an artifact
- CI status badge in README

---

## [1.0.2] — Portability & Hygiene Fixes

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 🐚 WebShell

[![CI](https://github.com/s17labs/webshell/actions/workflows/ci.yml/badge.svg)](https://github.com/s17labs/webshell/actions/workflows/ci.yml)

**A minimal Android WebView wrapper kit for building native Android apps with plain HTML, CSS, and JavaScript.**

No React. No Electron. No Capacitor. No bloat. Just a clean, well-documented Android shell that loads your web app and gives it access to native device features through a simple JS bridge.
Expand Down
Loading