From d5c1fc89dd6c27eef845b6a7a75cf4dd1f58c194 Mon Sep 17 00:00:00 2001 From: Fabian Immel Date: Fri, 7 Feb 2025 13:17:09 +0100 Subject: [PATCH] CI Fixes for Breaking Github Changes (#387) --- .github/workflows/cd.yaml | 14 ++++++++------ .github/workflows/ci.yaml | 8 ++++++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 027d6128..b69c7c2e 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -70,9 +70,9 @@ jobs: sudo cp -r $HOME/dist/* /dist - name: Store wheel - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ matrix.python-version }} path: dist/ test: @@ -85,9 +85,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Restore wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: dist + pattern: dist-* + merge-multiple: true path: dist/ - name: Setup Python uses: actions/setup-python@v4 @@ -110,9 +111,10 @@ jobs: needs: [build, test] steps: - name: Restore wheel - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: dist + pattern: dist-* + merge-multiple: true path: dist/ - name: Release diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 46567d0e..2f270a48 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,6 +9,10 @@ on: # Run tests for any PRs. pull_request: +permissions: + issues: write + contents: write + jobs: formatting: runs-on: ubuntu-latest @@ -170,11 +174,11 @@ jobs: docker rm -f lanelet2_test_${{ matrix.rosdistro }}_lcov; - name: Report code coverage - uses: immel-f/github-actions-report-lcov@v0.1.11 + uses: immel-f/github-actions-report-lcov@v0.1.13 if: ${{ matrix.rosdistro == 'noetic' }} with: coverage-files: ./lcov/full_coverage.lcov - artifact-name: code-coverage-report + artifact-name: github-token: ${{ secrets.GITHUB_TOKEN }} full_conan_installation: