1
mirror of https://github.com/revanced/revanced-cli synced 2024-12-13 01:13:55 +01:00

ci: refactor release workflow

This commit is contained in:
oSumAtrIX 2022-12-05 23:03:49 +01:00
parent 25b45800a1
commit 8a1199ba9a
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
5 changed files with 6127 additions and 6 deletions

View File

@ -22,18 +22,19 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
distribution: 'zulu'
cache: gradle
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
node-version: "latest"
cache: 'npm'
- name: Build with Gradle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build clean
run: ./gradlew build --no-daemon
- name: Setup semantic-release
run: npm install -g semantic-release @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin -D
run: npm install semantic-release @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin -D
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

7
.gitignore vendored
View File

@ -113,6 +113,9 @@ gradle-app.setting
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
# Dependency directories
node_modules/
# ReVanced CLI
revanced-cache/
options.toml
.idea/vcs.xml
options.toml

2
.idea/.gitignore generated vendored
View File

@ -7,3 +7,5 @@
/dataSources/
/dataSources.local.xml
/kotlinc.xml
/vcs.xml
/codeStyles

6107
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

8
package.json Normal file
View File

@ -0,0 +1,8 @@
{
"devDependencies": {
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"gradle-semantic-release-plugin": "^1.7.4",
"semantic-release": "^19.0.5"
}
}