From 4e6e0c971e09055bcb86d6012dc46c317cadba9a Mon Sep 17 00:00:00 2001 From: LaylaMeower Date: Thu, 14 Dec 2023 21:50:34 +0200 Subject: [PATCH] Modified workflows a bit more, removed .idea directory from repo almost completely. --- .github/workflows/ci.yml | 3 +- .github/workflows/develop.yml | 3 +- .github/workflows/root.yml | 5 +- .gitignore | 38 +----------- .idea/.gitignore | 8 --- .idea/compiler.xml | 10 --- .idea/discord.xml | 6 -- .idea/file.template.settings.xml | 8 --- .idea/fileTemplates/KordEx Extension.kt | 14 ----- .idea/git_toolbox_prj.xml | 20 ------ .idea/inspectionProfiles/Project_Default.xml | 6 -- .idea/jarRepositories.xml | 55 ----------------- .idea/kotlinc.xml | 6 -- .idea/libraries-with-intellij-classes.xml | 65 -------------------- .idea/markdown.xml | 9 --- .idea/misc.xml | 10 --- .idea/runConfigurations/Build.xml | 23 ------- .idea/vcs.xml | 6 -- 18 files changed, 9 insertions(+), 286 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/discord.xml delete mode 100644 .idea/file.template.settings.xml delete mode 100644 .idea/fileTemplates/KordEx Extension.kt delete mode 100644 .idea/git_toolbox_prj.xml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml delete mode 100644 .idea/jarRepositories.xml delete mode 100644 .idea/kotlinc.xml delete mode 100644 .idea/libraries-with-intellij-classes.xml delete mode 100644 .idea/markdown.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/runConfigurations/Build.xml delete mode 100644 .idea/vcs.xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a330f1..645afe4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@v4 - name: Set up Java uses: actions/setup-java@v4 diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index bd4f564..291c405 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -10,7 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@v4 - name: Set up Java uses: actions/setup-java@v4 diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml index d6b616e..c3b2849 100644 --- a/.github/workflows/root.yml +++ b/.github/workflows/root.yml @@ -10,7 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout Repository + uses: actions/checkout@v4 with: fetch-tags: true @@ -44,7 +45,7 @@ jobs: if git show-ref --tags --verify --quiet "refs/tags/${VERSION}"; then echo "Version ${VERSION} was already released" - exit 0 + exit 1 fi - name: Release artifacts diff --git a/.gitignore b/.gitignore index cfd0ada..07c9b32 100644 --- a/.gitignore +++ b/.gitignore @@ -28,42 +28,8 @@ hs_err_pid* # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 -# User-specific stuff -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/**/usage.statistics.xml -.idea/**/dictionaries -.idea/**/shelf - -# Generated files -.idea/**/contentModel.xml -.idea/.name - -# Sensitive or high-churn files -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml -.idea/**/dbnavigator.xml - -# Gradle -.idea/**/gradle.xml -.idea/**/libraries - -# Gradle and Maven with auto-import -# When using Gradle or Maven with auto-import, you should exclude module files, -# since they will be recreated, and may cause churn. Uncomment if using -# auto-import. -# .idea/artifacts -# .idea/compiler.xml -# .idea/jarRepositories.xml -# .idea/modules.xml -# .idea/*.iml -# .idea/modules -# *.iml -# *.ipr +.idea +!.idea/runConfigurations # CMake cmake-build-*/ diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index c074b8e..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Datasource local storage ignored files -/../../../../../../../:\Users\coles\IdeaProjects\kordex\template\.idea/dataSources/ -/dataSources.local.xml -# Editor-based HTTP Client requests -/httpRequests/ diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index 1533e95..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/discord.xml b/.idea/discord.xml deleted file mode 100644 index cd711a0..0000000 --- a/.idea/discord.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/file.template.settings.xml b/.idea/file.template.settings.xml deleted file mode 100644 index 550b607..0000000 --- a/.idea/file.template.settings.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - -