Skip to content

Commit cbfd4c5

Browse files
committed
Disable final codecov step on macos
1 parent 63c3ef7 commit cbfd4c5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747

4848
# Upload the code coverage analysis results to codecov.io
4949
- uses: alire-project/gnatcov-to-codecovio-action@main
50+
if: matrix.os != 'macos-13'
51+
# TODO: diagnose why it fails on macOS
5052
with:
5153
fail_ci_if_error: false # Don't fail the workflow if codecov.io failed
5254
verbose: true
@@ -60,12 +62,6 @@ jobs:
6062
# Run Alire publish assistant with the appropriate commit
6163
alr publish ${{github.server_url}}/${{github.repository}} ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
6264
63-
- if: github.event_name == 'pull_request'
64-
run: alr publish ${{github.server_url}}/${{github.repository}} ${{ github.event.pull_request.head.sha }}
65-
66-
- if: github.event_name == 'push'
67-
run: alr publish ${{github.server_url}}/${{github.repository}} ${{ github.sha }}
68-
6965
# Save the path to the release manifest for the next step.
7066
# This is a little trick to get around the fact that the actions/upload-release-asset doesn't allow globing pattern.
7167
- name: Get Release Manifest PATH

0 commit comments

Comments
 (0)