build: reflect official changes

This commit is contained in:
inotia00 2023-02-07 05:17:52 +09:00
parent fea24c8078
commit 511812ab45
4 changed files with 15 additions and 9 deletions

View File

@ -36,7 +36,7 @@ body:
- type: textarea - type: textarea
attributes: attributes:
label: Relevant log output label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. Capture crash logs by running `logcat | grep AndroidRuntime`.
render: shell render: shell
validations: validations:
required: true required: true

View File

@ -7,10 +7,11 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
MESSAGE: merge branch \`${{ github.head_ref || github.ref_name }}\` to \`main\` MESSAGE: merge branch `${{ github.head_ref || github.ref_name }}` to `main`
jobs: jobs:
pull-request: pull-request:
name: Open pull request
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout

View File

@ -1,4 +1,5 @@
name: Release name: Release
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
@ -9,6 +10,7 @@ on:
branches: branches:
- main - main
- dev - dev
jobs: jobs:
release: release:
name: Release name: Release
@ -17,6 +19,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
# Make sure the release step uses its own credentials:
# https://github.com/cycjimmy/semantic-release-action#private-packages
persist-credentials: false
fetch-depth: 0 fetch-depth: 0
- name: Setup JDK - name: Setup JDK
uses: actions/setup-java@v3 uses: actions/setup-java@v3
@ -40,8 +45,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew generateMeta clean --no-daemon run: ./gradlew generateMeta clean --no-daemon
- name: Setup semantic-release - name: Setup semantic-release
run: npm install semantic-release @saithodev/semantic-release-backmerge @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin -D run: npm install semantic-release@19.0.5 @saithodev/semantic-release-backmerge @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin@1.7.4 -D
- name: Release - name: Release
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
run: npx semantic-release run: npx semantic-release

View File

@ -20,10 +20,10 @@ repositories {
} }
dependencies { dependencies {
implementation("app.revanced:revanced-patcher:6.4.0") implementation("app.revanced:revanced-patcher:6.4.2")
implementation("app.revanced:multidexlib2:2.5.2.r2") implementation("app.revanced:multidexlib2:2.5.3-a3836654")
// Required for meta // Required for meta
implementation("com.google.code.gson:gson:2.10") implementation("com.google.code.gson:gson:2.10.1")
} }
tasks { tasks {
@ -53,7 +53,7 @@ tasks {
dependsOn(build) dependsOn(build)
classpath = sourceSets["main"].runtimeClasspath classpath = sourceSets["main"].runtimeClasspath
mainClass.set("app.revanced.meta.Meta") mainClass.set("app.revanced.meta.PatchesFileGenerator")
} }
// Dummy task to fix the Gradle semantic-release plugin. // Dummy task to fix the Gradle semantic-release plugin.
// Remove this if you forked it to support building only. // Remove this if you forked it to support building only.