Update .forgejo/workflows/ci.yml
All checks were successful
Build Resilient App / build (push) Successful in 16m36s
All checks were successful
Build Resilient App / build (push) Successful in 16m36s
This commit is contained in:
parent
e2977faf48
commit
b9f6d0204d
1 changed files with 10 additions and 14 deletions
|
@ -10,25 +10,21 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: [docker]
|
runs-on: [docker]
|
||||||
|
|
||||||
container:
|
|
||||||
image: docker.io/omguerreiro/forgejo-custom-runner:latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Show working directory contents
|
- name: Show working directory contents
|
||||||
run: ls -la
|
run: ls -la
|
||||||
|
|
||||||
# Because I created a custom image with these dependencies installed, no need to keep them in the pipeline
|
- name: Install system dependencies
|
||||||
# - name: Install system dependencies
|
run: |
|
||||||
# run: |
|
apt-get update
|
||||||
# apt-get update
|
apt-get install -y nodejs npm openjdk-17-jdk maven git
|
||||||
# apt-get install -y nodejs npm openjdk-17-jdk maven git
|
export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which javac))))
|
||||||
# export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which javac))))
|
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
|
||||||
# echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
# node -v
|
node -v
|
||||||
# npm -v
|
npm -v
|
||||||
# java -version
|
java -version
|
||||||
# mvn -version
|
mvn -version
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue