diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..aad29fb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,67 @@ +name: Bug Report +description: Report a Bug with the AltAuth Software +title: "[BUG] " +labels: [bug] + +body: + - type: dropdown + validations: + required: true + id: platform + attributes: + label: Platform + description: What platform are you using? + options: + - BungeeCord/Waterfall + - Spigot/Paper + - Fabric (Server/Client) + - Proxy + - Other (Self implemented) + - type: textarea + validations: + required: true + id: description + attributes: + label: Description + description: Describe the bug you are experiencing. + placeholder: "AltAuth is not working on my server." + - type: textarea + id: stacktrace + attributes: + label: "Stacktrace [Optional]" + description: "If there is a stacktrace, please paste it here." + placeholder: | + "```" + "Paste the stacktrace here. DO NOT REMOVE THE BACKTICKS!" + "```" + - type: textarea + validations: + required: true + id: steps + attributes: + label: Steps to Reproduce + description: "What steps did you take to cause this bug?" + placeholder: "1. Install AltAuth on my server." + - type: textarea + validations: + required: true + id: expected + attributes: + label: "Expected Behavior" + description: "What did you expect to happen?" + placeholder: "AltAuth should work on my server." + - type: textarea + id: context + attributes: + label: "Other" + description: "Please provide any other information that may be helpful." + - type: checkboxes + id: terms + attributes: + label: "Terms and Conditions" + description: "By submitting this issue, you agree to the following terms and conditions." + options: + - label: "I'm using the latest version of AltAuth." + required: true + - label: "This issue is not a duplicate." + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..5ad8dfa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,45 @@ +name: Feature Request +description: Request a Feature for the AltAuth Software +title: "[FEATURE] <title>" +labels: [enhancement] + +body: + - type: textarea + validations: + required: true + id: description + attributes: + label: Description + description: Describe the feature you are requesting. + placeholder: "I would like to see AltAuth support <feature>." + - type: textarea + validations: + required: true + id: reason + attributes: + label: "Why do you want this feature?" + description: "Tell us why you want this feature." + - type: textarea + validations: + required: true + id: alternatives + attributes: + label: "Alternatives" + description: "Are there any alternatives you have considered?" + - type: textarea + id: context + attributes: + label: "Other" + description: "Please provide any other information that may be helpful." + - type: checkboxes + id: terms + attributes: + label: "Terms" + description: "Please read and agree to the terms below." + options: + - label: "I'm using the latest version of AltAuth." + required: true + - label: "I really need this feature and can't use the alternative." + required: true + - label: "This issue is not a duplicate." + required: true \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..cc11554 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Build + +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + name: Build AltAuth and Upload + steps: + - uses: actions/checkout@v2 + + - name: Setup Java JDK + uses: actions/setup-java@v3.5.1 + with: + java-version: 17 + check-latest: true + cache: 'gradle' + + - name: Build AltAuth + run: ./gradlew build + + - name: Upload AltAuth + if: ${{github.event_name == 'push' || github.event_name == 'workflow_dispatch'}} + uses: actions/upload-artifact@v2 + with: + name: AltAuth + path: build/libs/AltAuth-*-all.jar