diff --git a/.github/workflows/AutomatedBuild_PR.yml b/.github/workflows/AutomatedBuild_PR.yml deleted file mode 100644 index 50b07c2..0000000 --- a/.github/workflows/AutomatedBuild_PR.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Run testcases - -on: [pull_request] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Run all java testcases - run: mvn test --file toolchain-fitnesse-plugin/pom.xml diff --git a/toolchain-fitnesse-plugin/.github/workflows/master.yml b/.github/workflows/master.yml similarity index 100% rename from toolchain-fitnesse-plugin/.github/workflows/master.yml rename to .github/workflows/master.yml diff --git a/.github/workflows/release-to-maven-central.yml b/.github/workflows/release-to-maven-central.yml deleted file mode 100644 index 12aa3e4..0000000 --- a/.github/workflows/release-to-maven-central.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Publish package to the Maven Central Repository -on: - release: - types: [created] - -jobs: - maven-release: - runs-on: ubuntu-latest - steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - name: Install Java and Maven - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 11 - - name: Unsnapshot version - run: mvn versions:set -DremoveSnapshot --file toolchain-fitnesse-plugin/pom.xml - - name: Release Maven package - uses: samuelmeuli/action-maven-publish@v1 - with: - directory: toolchain-fitnesse-plugin - server_id: staging - maven_profiles: release - gpg_private_key: ${{ secrets.gpg_private_key }} - gpg_passphrase: ${{ secrets.gpg_passphrase }} - nexus_username: ${{ secrets.MAVEN_USERNAME }} - nexus_password: ${{ secrets.MAVEN_PASSWORD }} - - - update-version: - needs: [ maven-release ] - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - with: - ref: master - - name: Install Java and Maven - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 11 - - name: Configure git - run: | - git config --global user.email "johan.roeleveld@praegus.nl" - git config --global user.name "Praegus" - - name: Update version - run: | - mvn -B release:update-versions -DautoVersionSubmodules=true --file toolchain-fitnesse-plugin/pom.xml - git add toolchain-fitnesse-plugin/pom.xml - git commit -m "Update version" - git push origin master \ No newline at end of file