Attempt to fix broken autobahn CI artifact uploading (#167)

Applying this:
https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#merging-multiple-artifacts
This commit is contained in:
andri lim 2024-11-28 12:25:54 +07:00 committed by GitHub
parent 4b47ed7e81
commit ebe308a79a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -271,13 +271,25 @@ jobs:
- name: Upload Autobahn result
uses: actions/upload-artifact@v4
with:
name: autobahn-report
name: autobahn-artifact-${{ matrix.websock }}-${{ matrix.branch }}
path: ./autobahn/reports
deploy-test:
if: github.event_name == 'push'
name: "Deplay Autobahn results"
# Issue related to actions/upload-artifact@v4 immutability
# Applying Merging multiple artifacts:
# https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#merging-multiple-artifacts
merge-autobahn-artifact:
runs-on: ubuntu-latest
needs: autobahn-test
steps:
- name: Merge Autobahn Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: autobahn-report
pattern: autobahn-artifact-*
deploy-test:
name: "Deplay Autobahn results"
needs: merge-autobahn-artifact
runs-on: ubuntu-latest
defaults: