skip and build mvn
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
Gitea Actions Demo 2 / Builder (pull_request) Failing after 8s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
Gitea Actions Demo 2 / Builder (pull_request) Failing after 8s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
This commit is contained in:
@ -7,6 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
frontend-jobs:
|
frontend-jobs:
|
||||||
name: Set up Node and other necessary dependencies for Frontend Tests and Build
|
name: Set up Node and other necessary dependencies for Frontend Tests and Build
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }} # skip
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -137,6 +138,7 @@ jobs:
|
|||||||
|
|
||||||
backend-jobs:
|
backend-jobs:
|
||||||
name: Set up Java for Backend Tests and Build
|
name: Set up Java for Backend Tests and Build
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }} # skip
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@ -11,6 +11,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions-2:
|
Explore-Gitea-Actions-2:
|
||||||
|
name: "Explore Gitea Actions - 2"
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }} # skip
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Info
|
- name: Info
|
||||||
|
|||||||
@ -22,7 +22,6 @@ jobs:
|
|||||||
- name: Update apt-get
|
- name: Update apt-get
|
||||||
run: |
|
run: |
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
#apt-get update -qq >/dev/null -y
|
|
||||||
|
|
||||||
- name: Clone the repository
|
- name: Clone the repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -31,13 +30,15 @@ jobs:
|
|||||||
#token: ${{ secrets.ACCESS_TOKEN }}
|
#token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
#fetch-depth: 0
|
#fetch-depth: 0
|
||||||
|
|
||||||
#- name: Checkout repository manually
|
- name: Build with Maven
|
||||||
# env:
|
#uses: actions/checkout@v5
|
||||||
# TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
#uses: actions/setup-java@v5
|
||||||
# CLONE_URL: ${{ vars.CLONE_URL }}
|
with:
|
||||||
# run: |
|
distribution: 'temurin'
|
||||||
# echo "Cloning from $CLONE_URL"
|
java-version: '21'
|
||||||
# echo "Cloning ALL_REPO_TOKEN $ALL_REPO_TOKEN"
|
cache: 'maven'
|
||||||
# CLONE_URL_WITH_AUTH=$(echo "$CLONE_URL" | sed "s#https://#https://$ALL_REPO_TOKEN@#")
|
#cache-dependency-path: 'sub-project/pom.xml' # optional
|
||||||
# git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
run: |
|
||||||
# echo "${{ gitea.repository }} cloned successfully."
|
java -version
|
||||||
|
mvn -version
|
||||||
|
mvn clean test -Dspring.profiles.active=test
|
||||||
@ -7,6 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
frontend-jobs:
|
frontend-jobs:
|
||||||
name: Set up Node and other necessary dependencies for Frontend Tests and Build
|
name: Set up Node and other necessary dependencies for Frontend Tests and Build
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }} # skip
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -83,6 +84,7 @@ jobs:
|
|||||||
|
|
||||||
backend-jobs:
|
backend-jobs:
|
||||||
name: Set up Java for Backend Tests and Build
|
name: Set up Java for Backend Tests and Build
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' }} # skip
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
#container:
|
#container:
|
||||||
#image: eclipse-temurin:21-jdk
|
#image: eclipse-temurin:21-jdk
|
||||||
|
|||||||
Reference in New Issue
Block a user