File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 with :
1616 python-version : " 3.x"
1717 - name : Run synapse
18- uses : michaelkaye/setup-matrix-synapse@v1.0.1
18+ uses : michaelkaye/setup-matrix-synapse@v1.0.5
1919 with :
20- uploadLogs : true
20+ # This is turned off as it currently breaks runs. Can be re-enabled once
21+ # `setup-matrix-synapse` updates its `@actions/artifact` to
22+ # v2.x. See https://github.com/michaelkaye/setup-matrix-synapse/issues/102
23+ uploadLogs : false
2124 httpPort : 8008
2225 customModules : " synapse-s3-storage-provider"
2326 customConfig : |
5861 server_name=`echo $mxc | sed 's^mxc://\(.*\)/.*^\1^'`
5962 media_id=`echo $mxc | sed 's^mxc://.*/\(.*\)^\1^'`
6063 #Downloading uploaded file
61- curl -q -o round_trip http://127.0.0.1:8008/_matrix/media/v3/ download/${server_name}/${media_id}/
64+ curl -q -o round_trip -H "Authorization: Bearer $access_token" http://127.0.0.1:8008/_matrix/client/v1/media/ download/${server_name}/${media_id}
6265 #Verify file against original
6366 diff round_trip s3_storage_provider.py
6467 #Verify file against minio data store
You can’t perform that action at this time.
0 commit comments