mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
fix: clear workspace before build
This commit is contained in:
10
.github/workflows/build-module.yml
vendored
10
.github/workflows/build-module.yml
vendored
@@ -41,8 +41,14 @@ jobs:
|
|||||||
build_env: ${{ fromJson(needs.generate-config.outputs.job-config) }}
|
build_env: ${{ fromJson(needs.generate-config.outputs.job-config) }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clear Workspace
|
- name: Clean previous build artifacts
|
||||||
run: git clean -fdx
|
run: |
|
||||||
|
rm -rf bin/packages/*
|
||||||
|
rm -rf bin/targets/*
|
||||||
|
rm -rf build_dir/*
|
||||||
|
rm -rf dl/*
|
||||||
|
rm -rf tmp/*
|
||||||
|
rm -rf tools/*
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user