From 11e8fa0ff64609f5073d3a78682b5d6675cc1960 Mon Sep 17 00:00:00 2001 From: Luigi Freitas Cruz Date: Thu, 20 Feb 2020 17:46:46 -0300 Subject: [PATCH] Clean directory before checkout. --- .github/workflows/release.yml | 5 +++++ .github/workflows/validate.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccccf31..22ccadd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,11 @@ jobs: env: working-directory: ./builder steps: + - name: Clean project + id: clean + working-directory: ${{ env.working-directory }} + run: | + sudo rm -fr work deploy - name: Checkout code uses: actions/checkout@v2 - name: Build project diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index feb3b44..bbc2d12 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -10,6 +10,11 @@ jobs: env: working-directory: ./builder steps: + - name: Clean project + id: clean + working-directory: ${{ env.working-directory }} + run: | + sudo rm -fr work deploy - name: Checkout code uses: actions/checkout@v2 - name: Build project