Update .forgejo/workflows/ci.yml
Some checks failed
Build Resilient App / build (push) Failing after 11m23s
Some checks failed
Build Resilient App / build (push) Failing after 11m23s
This commit is contained in:
parent
15e0fe6249
commit
c4d6bd24f6
1 changed files with 11 additions and 10 deletions
|
@ -14,17 +14,18 @@ jobs:
|
|||
- name: Show working directory contents
|
||||
run: ls -la
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y nodejs npm openjdk-17-jdk maven git
|
||||
export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which javac))))
|
||||
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
|
||||
# Because I created a custom image with these dependencies installed, no need to keep them in the pipeline
|
||||
# - name: Install system dependencies
|
||||
# run: |
|
||||
# apt-get update
|
||||
# apt-get install -y nodejs npm openjdk-17-jdk maven git
|
||||
# export JAVA_HOME=$(dirname $(dirname $(readlink -f $(which javac))))
|
||||
# echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
|
||||
|
||||
node -v
|
||||
npm -v
|
||||
java -version
|
||||
mvn -version
|
||||
# node -v
|
||||
# npm -v
|
||||
# java -version
|
||||
# mvn -version
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue