From 94a4769297de90f5b2488498e666248bacff1e96 Mon Sep 17 00:00:00 2001 From: MrBunnyDc Date: Fri, 27 Sep 2024 12:12:16 -0400 Subject: [PATCH] Delete old workflows --- .github/workflows/gradle.yml | 23 ---------------------- .github/workflows/pushes.yml | 37 ------------------------------------ 2 files changed, 60 deletions(-) delete mode 100644 .github/workflows/gradle.yml delete mode 100644 .github/workflows/pushes.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml deleted file mode 100644 index 28247c6..0000000 --- a/.github/workflows/gradle.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Gradle Build -on: [push, pull_request] -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Setup Java JDK - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'microsoft' - cache: 'gradle' - - - name: Setup Gradle Permissions - run: chmod +x ./gradlew - - - name: Setup Gradle - run: ./gradlew - - - name: Build - run: ./gradlew build \ No newline at end of file diff --git a/.github/workflows/pushes.yml b/.github/workflows/pushes.yml deleted file mode 100644 index b67455e..0000000 --- a/.github/workflows/pushes.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Push Workflow -on: [push] -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Notify Push - uses: wonejomb/webhook-actions@2.0.10 - with: - webhook_url: ${{ secrets.webhook_url }} - webhook_name: 'GuidebookAPI/Github' - status: 'started' - webhook_avatar: ${{ secrets.webhook_avatar }} - - - name: Checkout Repository - uses: actions/checkout@v4 - with: - fetch-depth: 1000 - fetch-tags: true - - - name: Notify On Success - if: success() - uses: wonejomb/webhook-actions@2.0.10 - with: - webhook_url: ${{ secrets.webhook_url }} - webhook_name: 'GuidebookAPI/Github' - status: 'success' - webhook_avatar: ${{ secrets.webhook_avatar }} - - - name: Notify On Failure - if: failure () - uses: wonejomb/webhook-actions@2.0.10 - with: - webhook_url: ${{ secrets.webhook_url }} - webhook_name: 'GuidebookAPI/Github' - status: 'failure' - webhook_avatar: ${{ secrets.webhook_avatar }} \ No newline at end of file