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