Skip to content

Commit

Permalink
chore: cleanup workspace after execution
Browse files Browse the repository at this point in the history
  • Loading branch information
uvulpos committed Oct 3, 2024
1 parent 6bd964e commit 6da62f8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/execute-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ jobs:
# continue-on-error: true

steps:
- name: 'Cleanup build folder'
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down Expand Up @@ -43,3 +36,12 @@ jobs:
with:
name: go-security-report.html
path: ./results.html

- name: Cleanup Workspace
if: always()
run: |
# Dateien oder Verzeichnisse löschen
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./

0 comments on commit 6da62f8

Please sign in to comment.