Skip to content

Commit

Permalink
Merge pull request #551 from Satellite-im/luis/delete-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm authored Dec 5, 2023
2 parents f7ca655 + 03cb8e2 commit 20198c9
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/ui-automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,18 @@ jobs:
message: |
UI Automated Tests execution is complete! You can find the test results report [here](https://satellite-im.github.io/testing-uplink/${{ github.run_number }})
remove-artifacts:
- name: Delete artifacts not required on failed execution
uses: geekyeggo/delete-artifact@v2
with:
name: |
test-report-macos-ci
test-report-macos-chats
test-report-windows-ci
test-allure-mac-ci
test-allure-mac-chats
test-allure-windows-ci
remove-label:
needs:
[
build-mac,
Expand All @@ -554,24 +565,18 @@ jobs:
- name: Checkout testing directory 🔖
uses: actions/checkout@v3

- name: Delete artifacts required on failed execution
uses: geekyeggo/delete-artifact@v2
with:
name: |
Uplink-windows-latest
uplink-windows-assets
Uplink-macos-latest
- name: Remove label if all test jobs succeeded
uses: buildsville/add-remove-label@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: |
Failed Automated Test
type: remove

- name: Delete artifacts
uses: geekyeggo/delete-artifact@v2
with:
name: |
Uplink-windows-latest
uplink-windows-assets
Uplink-macos-latest
test-report-macos-ci
test-report-macos-chats
test-report-windows-ci
test-allure-mac-ci
test-allure-mac-chats
test-allure-windows-ci

0 comments on commit 20198c9

Please sign in to comment.