fix(ci): stabilize artifact uploads in Gitea Actions
This commit is contained in:
@@ -40,6 +40,10 @@ jobs:
|
||||
- name: Upload JUnit report
|
||||
if: ${{ always() }}
|
||||
uses: https://gitea.com/actions/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2
|
||||
env:
|
||||
# The runner's artifact proxy may be private to its Docker network.
|
||||
# Use the Gitea URL reachable by checkout in the job container.
|
||||
ACTIONS_RESULTS_URL: ${{ vars.ARTIFACT_SERVER_URL || gitea.server_url }}
|
||||
with:
|
||||
name: python-test-results
|
||||
path: reports/pytest.xml
|
||||
@@ -95,6 +99,8 @@ jobs:
|
||||
- name: Build and smoke-test image
|
||||
run: sh ci/container.sh verify
|
||||
- uses: https://gitea.com/actions/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2
|
||||
env:
|
||||
ACTIONS_RESULTS_URL: ${{ vars.ARTIFACT_SERVER_URL || gitea.server_url }}
|
||||
with:
|
||||
name: container-build
|
||||
path: build.env
|
||||
@@ -127,6 +133,8 @@ jobs:
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
run: sh ci/container.sh publish
|
||||
- uses: https://gitea.com/actions/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2
|
||||
env:
|
||||
ACTIONS_RESULTS_URL: ${{ vars.ARTIFACT_SERVER_URL || gitea.server_url }}
|
||||
with:
|
||||
name: container-deploy
|
||||
path: |
|
||||
|
||||
Reference in New Issue
Block a user