From ccef24a824ab32e76b03809022cd9b9aa7a166ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lillie=E2=84=A2?= <66176496+lilliepad1@users.noreply.github.com> Date: Wed, 10 Jul 2024 20:57:54 -0400 Subject: [PATCH] Remove old workflows Remove old workflow files. --- .github/workflows/build-and-test-old.yml | 22 -------- .github/workflows/make-release-old.yml | 70 ------------------------ 2 files changed, 92 deletions(-) delete mode 100644 .github/workflows/build-and-test-old.yml delete mode 100644 .github/workflows/make-release-old.yml diff --git a/.github/workflows/build-and-test-old.yml b/.github/workflows/build-and-test-old.yml deleted file mode 100644 index f5b4631e7..000000000 --- a/.github/workflows/build-and-test-old.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build and Test -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - cache: maven - - name: Build and Test with Maven - run: mvn --batch-mode --update-snapshots verify diff --git a/.github/workflows/make-release-old.yml b/.github/workflows/make-release-old.yml deleted file mode 100644 index ce1f58be9..000000000 --- a/.github/workflows/make-release-old.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Make Release -on: - workflow_dispatch: - inputs: - version_number: - description: 'Version Number' - required: true - type: string - info: - description: 'Description of this Release' - required: true - type: string - -jobs: - build_jar: - name: Build Jar - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - cache: maven - - name: Set Version - uses: datamonsters/replace-action@v2 - with: - files: 'pom.xml' - replacements: 'Snapshot=${{ github.event.inputs.version_number }}' - - name: Build with Maven - run: mvn --batch-mode --update-snapshots verify - - name: Rename jar - run: mv target/*-All.jar JMusicBot-${{ github.event.inputs.version_number }}.jar - - name: Upload jar - uses: actions/upload-artifact@v3 - with: - name: jar - path: JMusicBot-${{ github.event.inputs.version_number }}.jar - if-no-files-found: error - create_release: - name: Create Release - runs-on: ubuntu-latest - needs: build_jar - steps: - - name: Download a Build Artifact - uses: actions/download-artifact@v3.0.0 - with: - name: jar - path: . - - name: Show Artifacts - run: ls -R - - name: Create Release - uses: ncipollo/release-action@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ github.event.inputs.version_number }} - name: Version ${{ github.event.inputs.version_number }} - draft: true - prerelease: false - artifacts: "*.jar" - body: | - ${{ github.event.inputs.info }} - - --- - ### Setup - https://jmusicbot.com/setup - https://jmusicbot.com/config - # Download: [JMusicBot-${{ github.event.inputs.version_number }}.jar](https://github.com/jagrosh/MusicBot/releases/download/${{ github.event.inputs.version_number }}/JMusicBot-${{ github.event.inputs.version_number }}.jar)