diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 000000000..55842d441 --- /dev/null +++ b/.github/workflows/action.yml @@ -0,0 +1,36 @@ +name: build + +on: + push: + branches: [ "*" ] # This will trigger the workflow on push to any branch + pull_request: + branches: [ "*" ] # This will trigger the workflow on pull requests to any branch + +jobs: + apk: + name: Generate APK + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: '${{ github.ref }}' + + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew assembleAndroidFdroidRelease + + - name: Upload APK + uses: actions/upload-artifact@v4 + with: + name: apk + path: '**/*.apk' \ No newline at end of file diff --git a/RemixedDungeon/build.gradle b/RemixedDungeon/build.gradle index e3b62d4c3..5daa8d70b 100644 --- a/RemixedDungeon/build.gradle +++ b/RemixedDungeon/build.gradle @@ -33,8 +33,8 @@ android { manifestPlaceholders = ["admob_app_id":getApiField("admob_app_id")] applicationId "com.nyrds.pixeldungeon.ml" - versionCode 1212 - versionName "32.1.beta.5" + versionCode 1213 + versionName "32.1.beta.6" targetSdkVersion 34 compileSdkVersion 34 minSdkVersion 21