Skip to content

Commit

Permalink
Merge branch 'main' into chore/splasher-idle-delay
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy authored Nov 9, 2024
2 parents fa5374a + eb66b6b commit 85bffcc
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 2 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/gradle.yml
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
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=5b9c5eb3f9fc2c94abaea57d90bd78747ca117ddbbf96c859d3741181a12bf2a
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
distributionSha256Sum=31c55713e40233a8303827ceb42ca48a47267a0ad4bab9177123121e71524c26
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
33 changes: 33 additions & 0 deletions renovate.json
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"]
}
}

0 comments on commit 85bffcc

Please sign in to comment.