From 98c9371827c05b3f8d4898420771e92fc09a1bcd Mon Sep 17 00:00:00 2001 From: hajk1 Date: Mon, 24 Apr 2023 00:01:40 +0200 Subject: [PATCH 1/6] testing github action --- .github/workflows/learn-github-actions.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/learn-github-actions.yml diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/learn-github-actions.yml new file mode 100644 index 0000000..6aeba66 --- /dev/null +++ b/.github/workflows/learn-github-actions.yml @@ -0,0 +1,13 @@ +name: learn-github-actions +run-name: ${{ github.actor }} is learning GitHub Actions +on: [push] +jobs: + check-bats-version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: '14' + - run: npm install -g bats + - run: bats -v \ No newline at end of file From 9a4771878eb451c2e94423a21e94caf92d1a3e08 Mon Sep 17 00:00:00 2001 From: hajk1 Date: Mon, 24 Apr 2023 00:08:47 +0200 Subject: [PATCH 2/6] testing github action java --- .github/workflows/learn-github-actions.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/learn-github-actions.yml index 6aeba66..206eb5d 100644 --- a/.github/workflows/learn-github-actions.yml +++ b/.github/workflows/learn-github-actions.yml @@ -1,13 +1,17 @@ -name: learn-github-actions -run-name: ${{ github.actor }} is learning GitHub Actions +name: Java CI + on: [push] + jobs: - check-bats-version: + build: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Set up JDK 1.8 + uses: actions/setup-java@v3 with: - node-version: '14' - - run: npm install -g bats - - run: bats -v \ No newline at end of file + java-version: '1.8' + distribution: 'adopt' + - name: Build with Maven + run: mvn --batch-mode --update-snapshots package From f30d3b9d2e62941bdb3f30ae0f880f382d674291 Mon Sep 17 00:00:00 2001 From: hajk1 Date: Mon, 24 Apr 2023 00:09:56 +0200 Subject: [PATCH 3/6] testing github action java --- .github/workflows/learn-github-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/learn-github-actions.yml index 206eb5d..def335d 100644 --- a/.github/workflows/learn-github-actions.yml +++ b/.github/workflows/learn-github-actions.yml @@ -8,10 +8,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 1.8 + - name: Set up JDK 8 uses: actions/setup-java@v3 with: - java-version: '1.8' + java-version: '8' distribution: 'adopt' - name: Build with Maven run: mvn --batch-mode --update-snapshots package From 1bfa153f728ee2d85dc80f668c4f31651663b1dd Mon Sep 17 00:00:00 2001 From: hajk1 Date: Thu, 22 Jun 2023 17:22:50 +0330 Subject: [PATCH 4/6] testing github action --- github-action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 github-action.yml diff --git a/github-action.yml b/github-action.yml new file mode 100644 index 0000000..f27446f --- /dev/null +++ b/github-action.yml @@ -0,0 +1,8 @@ +- name: Setup Java JDK + uses: actions/setup-java@v1.4.4 + with: + distribution: 'oracle' + java-version: '8' + cache: 'maven' +- name: Build with Maven + run: mvn -B package --file pom.xml \ No newline at end of file From e1e9e127e2ea2669d9624ef4e75076ebf0e943b4 Mon Sep 17 00:00:00 2001 From: hajk1 Date: Thu, 22 Jun 2023 17:28:56 +0330 Subject: [PATCH 5/6] testing github action --- .../{learn-github-actions.yml => build-github-actions.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{learn-github-actions.yml => build-github-actions.yml} (100%) diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/build-github-actions.yml similarity index 100% rename from .github/workflows/learn-github-actions.yml rename to .github/workflows/build-github-actions.yml From 257267a4b000c0cdcd2031b6105a45e5063bf6e4 Mon Sep 17 00:00:00 2001 From: hajk1 Date: Thu, 22 Jun 2023 18:27:03 +0330 Subject: [PATCH 6/6] testing github action --- github-action.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 github-action.yml diff --git a/github-action.yml b/github-action.yml deleted file mode 100644 index f27446f..0000000 --- a/github-action.yml +++ /dev/null @@ -1,8 +0,0 @@ -- name: Setup Java JDK - uses: actions/setup-java@v1.4.4 - with: - distribution: 'oracle' - java-version: '8' - cache: 'maven' -- name: Build with Maven - run: mvn -B package --file pom.xml \ No newline at end of file