forked from RDieleman/runelite-pickpocket-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/splasher-idle-delay
- Loading branch information
Showing
3 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Build with Gradle | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: build-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
gradle: | ||
strategy: | ||
matrix: | ||
#os: [ubuntu-latest, macos-latest, windows-latest] | ||
os: [ubuntu-latest] | ||
# others = slow | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 | ||
with: | ||
distribution: temurin | ||
java-version: 11 | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.0 | ||
|
||
- name: Execute Gradle build | ||
run: ./gradlew build | ||
|
||
- name: Build shadowJar | ||
run: ./gradlew shadowJar | ||
|
||
- name: Upload shadowJar | ||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | ||
with: | ||
name: pickpocket-helper-shadow | ||
path: build/libs/pickpocket-helper-*-all.jar | ||
|
||
create-release: | ||
needs: gradle | ||
runs-on: ubuntu-latest | ||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') | ||
|
||
steps: | ||
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
name: pickpocket-helper-shadow | ||
path: release-artifacts/ | ||
- name: Create release | ||
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0 | ||
with: | ||
removeArtifacts: true | ||
allowUpdates: true | ||
artifactErrorsFailBuild: true | ||
artifacts: "release-artifacts/*" | ||
body: | | ||
This release should only be used if testing one of the features that have not made it to the plugin hub yet. | ||
Note: To use this build, you must run from terminal (or command prompt): `java -ea -jar pickpocket-helper-1.x.x-all.jar` (be sure to specify the correct version and path to the file). Also, very recent java versions may require [additional VM options](https://github.com/runelite/runelite/wiki/Building-with-IntelliJ-IDEA#jdks-16). | ||
Latest Change: | ||
${{ github.event.head_commit.message }} | ||
prerelease: true | ||
name: Nightly Release | ||
tag: nightly-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
":prHourlyLimitNone", | ||
":prConcurrentLimitNone", | ||
":separateMultipleMajorReleases", | ||
":combinePatchMinorReleases", | ||
":pinVersions" | ||
], | ||
"baseBranches": ["main"], | ||
"branchPrefix": "chore/dependencies/", | ||
"digest": { | ||
"enabled": false | ||
}, | ||
"labels": ["dependencies"], | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["gradle"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchPackagePatterns": ["*"], | ||
"semanticCommitType": "chore" | ||
} | ||
], | ||
"rebaseWhen": "behind-base-branch", | ||
"reviewers": ["iProdigy"], | ||
"vulnerabilityAlerts": { | ||
"assignees": ["iProdigy"], | ||
"labels": ["dependencies", "security"] | ||
} | ||
} |