mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-01-02 20:13:37 +05:00
build: Add step "Set fixed workspace"
This commit is contained in:
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -53,8 +53,6 @@ env:
|
|||||||
REPO_LNK: openwrt-xiaomi/openwrt
|
REPO_LNK: openwrt-xiaomi/openwrt
|
||||||
REPO_BRANCH: xq-25.12
|
REPO_BRANCH: xq-25.12
|
||||||
TAG_PREFIX: v25-
|
TAG_PREFIX: v25-
|
||||||
DEPENDENCIES: ${{ github.workspace }}/dependencies-ubuntu.txt
|
|
||||||
RUNNER_TEMP: ${{ github.workspace }}/_temp
|
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
DEVICE_NAME: unknown
|
DEVICE_NAME: unknown
|
||||||
BUILD_DATE: unknown
|
BUILD_DATE: unknown
|
||||||
@@ -186,9 +184,18 @@ jobs:
|
|||||||
remove-haskell: true
|
remove-haskell: true
|
||||||
remove-codeql: true
|
remove-codeql: true
|
||||||
remove-docker-images: true
|
remove-docker-images: true
|
||||||
|
|
||||||
|
- name: Set fixed workspace
|
||||||
|
run: |
|
||||||
|
sudo mkdir -p /builder/openwrt /builder/tmp
|
||||||
|
sudo chown -R $USER:$USER /builder
|
||||||
|
echo "GITHUB_WORKSPACE=/builder/openwrt" >> $GITHUB_ENV
|
||||||
|
echo "RUNNER_TEMP=/builder/tmp" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Checkout builder
|
- name: Checkout builder
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
|
with:
|
||||||
|
path: /builder/openwrt
|
||||||
|
|
||||||
- name: Download OpenWrt sources
|
- name: Download OpenWrt sources
|
||||||
run: |
|
run: |
|
||||||
@@ -243,6 +250,8 @@ jobs:
|
|||||||
- name: Inspect restored host tools
|
- name: Inspect restored host tools
|
||||||
if: github.event.inputs.use_cache == 'true'
|
if: github.event.inputs.use_cache == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
echo "====== openwrt-native.txt ======"
|
||||||
|
cat build_dir/host/pkgconf-*/openwrt-native.txt || true
|
||||||
echo "====== staging_dir/host ====="
|
echo "====== staging_dir/host ====="
|
||||||
du -sh staging_dir/host || true
|
du -sh staging_dir/host || true
|
||||||
ls -la staging_dir/host || true
|
ls -la staging_dir/host || true
|
||||||
|
|||||||
Reference in New Issue
Block a user