diff --git a/src/app/workflows/gen-desired-state.yml b/src/app/workflows/gen-desired-state.yml index 8526f00..75acbaf 100644 --- a/src/app/workflows/gen-desired-state.yml +++ b/src/app/workflows/gen-desired-state.yml @@ -41,8 +41,12 @@ jobs: sudo chmod +x /usr/bin/velocitas velocitas init -v - - id: get_version - uses: battila7/get-version-action@v2 + - name: Extract version from tag + id: get_version + run: | + VERSION=${GITHUB_REF_NAME#v} + echo Version: $VERSION + echo "version-without-v=$VERSION" >> $GITHUB_OUTPUT - id: github-repository-name-case-adjusted name: Prepare repository name in lower case for docker upload. diff --git a/src/common/workflows/check-licenses.yml b/src/common/workflows/check-licenses.yml index 00feacf..c166b72 100644 --- a/src/common/workflows/check-licenses.yml +++ b/src/common/workflows/check-licenses.yml @@ -58,10 +58,12 @@ jobs: - name: Run dash shell: bash - continue-on-error: true run: | wget -O dash.jar "https://repo.eclipse.org/content/repositories/dash-licenses/org/eclipse/dash/org.eclipse.dash.licenses/1.0.2/org.eclipse.dash.licenses-1.0.2.jar" - java -jar dash.jar clearlydefined.input -summary DEPENDENCIES + java -jar dash.jar clearlydefined.input -summary DEPENDENCIES > dash.out 2>&1 || true + echo -e "Dash output: \n\`\`\` " >> $GITHUB_STEP_SUMMARY + cat dash.out >> $GITHUB_STEP_SUMMARY + echo -e "\n\`\`\`" - name: Upload dash input/output as artifacts uses: actions/upload-artifact@v4 @@ -71,3 +73,4 @@ jobs: path: | clearlydefined.input DEPENDENCIES + dash.out diff --git a/src/cpp-app/workflows/ci.yml b/src/cpp-app/workflows/ci.yml index 6f7dcc4..fdf21b6 100644 --- a/src/cpp-app/workflows/ci.yml +++ b/src/cpp-app/workflows/ci.yml @@ -93,4 +93,4 @@ jobs: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY - name: Run Linters - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 diff --git a/src/cpp-app/workflows/release.yml b/src/cpp-app/workflows/release.yml index 6e4845a..d1cc6a4 100644 --- a/src/cpp-app/workflows/release.yml +++ b/src/cpp-app/workflows/release.yml @@ -58,8 +58,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - id: get_version - uses: battila7/get-version-action@v2 + - name: Extract version from tag + id: get_version + run: | + VERSION=${GITHUB_REF_NAME#v} + echo Version: $VERSION + echo "version-without-v=$VERSION" >> $GITHUB_OUTPUT - run: echo "Using VehicleApp version ${{ steps.get_version.outputs.version-without-v }} from tag" diff --git a/src/cpp-sdk/workflows/ci.yml b/src/cpp-sdk/workflows/ci.yml index aa5a011..2ec0091 100644 --- a/src/cpp-sdk/workflows/ci.yml +++ b/src/cpp-sdk/workflows/ci.yml @@ -107,4 +107,4 @@ jobs: # path: code-coverage-results.md - name: Run Linters - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 diff --git a/src/python-app/workflows/ci.yml b/src/python-app/workflows/ci.yml index c9dee3e..877a332 100644 --- a/src/python-app/workflows/ci.yml +++ b/src/python-app/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: git config --global --add safe.directory $( pwd ) - name: Run Linters - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 - name: Clone Release Documentation Action repository uses: actions/checkout@v4 diff --git a/src/python-app/workflows/release.yml b/src/python-app/workflows/release.yml index af1435f..b038305 100644 --- a/src/python-app/workflows/release.yml +++ b/src/python-app/workflows/release.yml @@ -58,10 +58,14 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - id: get_version - uses: battila7/get-version-action@v2 + - name: Extract version from tag + id: get_version + run: | + VERSION=${GITHUB_REF_NAME#v} + echo Version: $VERSION + echo "version-without-v=$VERSION" >> $GITHUB_OUTPUT - - run: echo "Using VehicleApp version ${{ steps.get_version.outputs.version-without-v }} from tag" + - run: echo "Using VehicleApp version ${{ steps.get_version.outputs.version-without-v }} from tag" - name: Login to GitHub Container Registry uses: docker/login-action@v3 diff --git a/src/python-sdk/workflows/ci.yaml b/src/python-sdk/workflows/ci.yaml index 09c5a4e..9ca3365 100644 --- a/src/python-sdk/workflows/ci.yaml +++ b/src/python-sdk/workflows/ci.yaml @@ -61,7 +61,7 @@ jobs: python3 -m pip install tox-gh-actions - name: Run Linters - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 - name: Run the databroker binary run: |