Skip to content

Bump lodash from 4.17.11 to 4.17.23 in /utilities/EMASInstallerManager #73

Bump lodash from 4.17.11 to 4.17.23 in /utilities/EMASInstallerManager

Bump lodash from 4.17.11 to 4.17.23 in /utilities/EMASInstallerManager #73

Workflow file for this run

name: Struct
on:
push:
paths:
- 'languages/Struct/**'
workflow_dispatch:
pull_request:
env:
CI_PROJECT_ID: 17656
CI_API_V4_URL: https://git.rwth-aachen.de/api/v4
GITLABTOKEN: ${{ secrets.EMA_GITLAB_TOKEN }}
cibuild: ${{ secrets.SE_NEXUS_PASSWORD }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
FileChanges:
runs-on: ubuntu-latest
outputs:
runmasterJobLinux: ${{steps.masterJobLinux.outputs.run}}
steps:
- name: Checkout latest commit
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Check for file changes
run: |
CHANGES=$(git diff --name-only HEAD^ HEAD)
echo "$CHANGES"
echo "$CHANGES" > diff.txt
- name: Check masterJobLinux
id: masterJobLinux
run: |
exc=true
for path in $(cat diff.txt); do
if [[ $path == *README.md* ]]; then
echo "Matching path found: $path"
echo "DONT RUN"
exc=false
break
fi
if [[ $path == *.gitlab-ci.yml* ]]; then
echo "Matching path found: $path"
echo "DONT RUN"
exc=false
break
fi
done
echo "Final file status except check: $exc"
echo "run=$exc" >> $GITHUB_OUTPUT
windows_phase:
needs: [ ]
if: ${{ !cancelled()}}
runs-on: ubuntu-latest
steps:
- run: |
echo "Finished stage windows"
if: ${{!contains(needs.*.result, 'failure')}}
- run: |
echo "Failed stage windows"
exit 1
if: ${{contains(needs.*.result, 'failure')}}
masterJobLinux:
needs: [ windows_phase, FileChanges ]
if: ${{ !cancelled() && needs.windows_phase.result == 'success' && github.ref_name == 'master' && needs.FileChanges.outputs.runmasterJobLinux == 'true' }}
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Checkout latest commit
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Start Docker Container
run: |
docker pull maven:3-jdk-8
docker run --name build-container -d -v $(pwd):/workspace --network=host -e CI_PROJECT_ID=$CI_PROJECT_ID -e CI_API_V4_URL=$CI_API_V4_URL -e GITLABTOKEN=${{ secrets.EMA_GITLAB_TOKEN }} -e cibuild=$cibuild maven:3-jdk-8 tail -f /dev/null
- name: Script
env:
SCRIPT: |
cd /workspace
cd languages/Struct
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy --settings settings.xml
run: docker exec build-container bash -c "set -e; $SCRIPT"
BranchJobLinux:
needs: windows_phase
if: ${{ !cancelled() && needs.windows_phase.result == 'success' && github.ref_name != 'master' }}
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Checkout latest commit
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Start Docker Container
run: |
docker pull maven:3-jdk-8
docker run --name build-container -d -v $(pwd):/workspace --network=host -e CI_PROJECT_ID=$CI_PROJECT_ID -e CI_API_V4_URL=$CI_API_V4_URL -e GITLABTOKEN=${{ secrets.EMA_GITLAB_TOKEN }} -e cibuild=$cibuild maven:3-jdk-8 tail -f /dev/null
- name: Script
env:
SCRIPT: |
cd /workspace
cd languages/Struct
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
run: docker exec build-container bash -c "set -e; $SCRIPT"