From 8c08e472cbe193d531c8fdf0a2e9bae8893a4037 Mon Sep 17 00:00:00 2001 From: truongtop1 Date: Sun, 16 Jun 2024 01:15:48 +0700 Subject: [PATCH] chore: update script --- .../CODE_OF_CONDUCT.md | 0 .github/workflows/ci.yml | 2 +- .github/workflows/yetanother.yml | 21 ----------------- .travis.yml | 23 ------------------- 4 files changed, 1 insertion(+), 45 deletions(-) rename CODE_OF_CONDUCT.md => .github/CODE_OF_CONDUCT.md (100%) delete mode 100644 .github/workflows/yetanother.yml delete mode 100644 .travis.yml diff --git a/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT.md rename to .github/CODE_OF_CONDUCT.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b2a26d..b0e5682 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '8', '11', '13', '15', '16'] + java: ['11', '13', '15', '17'] name: Java ${{ matrix.Java }} sample steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/yetanother.yml b/.github/workflows/yetanother.yml deleted file mode 100644 index ea9b8cd..0000000 --- a/.github/workflows/yetanother.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Yet Another -on: - push: - paths-ignore: - - '**.md' - - 'docs/**' - pull_request: - paths-ignore: - - '**.md' - - 'docs/**' -jobs: - one-more: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Testspace client install & config - uses: testspace-com/setup-testspace@v1 - with: - domain: ${{github.repository_owner}} - - name: Testspace push test content - run: testspace "[${{ github.workflow }}]./testcontent/*.xml" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1fe2dec..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -language: java -sudo: false -jdk: - - oraclejdk15 -script: - - java --version - - ./mvnw clean install - - ./mvnw test - - jdk_switcher use openjdk8 - - # do stuff with open Java 8 -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ -cache: - directories: - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ -deploy: - provider: pages - skip-cleanup: true - github-token: $GITHUB_TOKEN - on: - branch: gh_pages