Skip to content
Snippets Groups Projects
Commit 242ce4bb authored by Griefed's avatar Griefed :joystick:
Browse files

ci: Change dependabot branch prefix. Upload artifacts from gradle builds

parent 7c4ab4e3
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@ updates:
- "dependencies"
- "github-actions"
target-branch: "dependabot"
pull-request-branch-name:
separator: "-"
- package-ecosystem: "gradle"
directory: "/"
......@@ -25,4 +27,6 @@ updates:
labels:
- "dependencies"
- "gradle"
target-branch: "dependabot"
\ No newline at end of file
target-branch: "dependabot"
pull-request-branch-name:
separator: "-"
\ No newline at end of file
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thanks for opening your first issue here! Be sure to follow the [bug](https://github.com/Griefed/ServerPackCreator/blob/1bbbfc59207e801068aa0f92ccd2869079fce7da/.github/ISSUE_TEMPLATE/bug-report.md), [feature](https://github.com/Griefed/ServerPackCreator/blob/1bbbfc59207e801068aa0f92ccd2869079fce7da/.github/ISSUE_TEMPLATE/feature-request.md), or [documentation](https://github.com/Griefed/ServerPackCreator/blob/1bbbfc59207e801068aa0f92ccd2869079fce7da/.github/ISSUE_TEMPLATE/documentation-request.md) issue templates!'
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/Griefed/ServerPackCreator/blob/1bbbfc59207e801068aa0f92ccd2869079fce7da/.github/ISSUE_TEMPLATE/pull_request.md)!'
name: Label sponsors
on:
pull_request:
types: [opened]
issues:
types: [opened]
jobs:
build:
name: Label issues and pull requests made by sponsors
runs-on: ubuntu-latest
steps:
- uses: JasonEtco/is-sponsor-label-action@v1
env:
GITHUB_TOKEN: ${{ secrets.CR_PAT }}
......@@ -27,4 +27,18 @@ jobs:
- name: Build with Gradle
run: ./gradlew about build --no-daemon --info
- name: List files in libs
run: ls -ahl build/libs
\ No newline at end of file
run: ls -ahl build/libs
- uses: actions/upload-artifact@v2
with:
name: build-artifacts-gradle
path: |
build/libs/
!build/libs/libraries/
frontend/dist/spa
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`
- uses: actions/upload-artifact@v2
if: failure()
with:
name: report
path: build/reports/tests/test/
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment