Skip to content

Commit

Permalink
add cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Nov 20, 2022
1 parent a47a0eb commit 5303576
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ on:
branches:
- main
jobs:
# cleaner:
# runs-on: self-hosted
# steps:
# - name: Clean up previous runs
# run: rm -rf "${{ github.workspace }}"
cleaner:
runs-on: self-hosted
steps:
- name: Clean up previous runs
run: rm -rf "${{ github.workspace }}"

build-docker-image:
runs-on: self-hosted
needs: cleaner
outputs:
tag: ${{ steps.generate-tag.outputs.tag }}
steps:
Expand Down

0 comments on commit 5303576

Please sign in to comment.