Browse Source

Clean directory before checkout.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 years ago
parent
commit
11e8fa0ff6
2 changed files with 10 additions and 0 deletions
  1. +5
    -0
      .github/workflows/release.yml
  2. +5
    -0
      .github/workflows/validate.yml

+ 5
- 0
.github/workflows/release.yml View File

@@ -13,6 +13,11 @@ jobs:
env: env:
working-directory: ./builder working-directory: ./builder
steps: steps:
- name: Clean project
id: clean
working-directory: ${{ env.working-directory }}
run: |
sudo rm -fr work deploy
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Build project - name: Build project


+ 5
- 0
.github/workflows/validate.yml View File

@@ -10,6 +10,11 @@ jobs:
env: env:
working-directory: ./builder working-directory: ./builder
steps: steps:
- name: Clean project
id: clean
working-directory: ${{ env.working-directory }}
run: |
sudo rm -fr work deploy
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Build project - name: Build project


Loading…
Cancel
Save