mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-29 16:44:54 +02:00
ci: try removing cache from build workflow (#972)
This commit is contained in:
parent
6e2b276836
commit
9a696122c7
27
.github/workflows/build_releases.yml
vendored
27
.github/workflows/build_releases.yml
vendored
@ -140,16 +140,6 @@ jobs:
|
|||||||
sh rustup.sh --default-toolchain stable -y
|
sh rustup.sh --default-toolchain stable -y
|
||||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
# We disable this for cross builds, as it seems to cause some issues.
|
|
||||||
- name: Enable Rust cache
|
|
||||||
if: matrix.info.cross != true
|
|
||||||
timeout-minutes: 5
|
|
||||||
continue-on-error: true
|
|
||||||
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
|
||||||
with:
|
|
||||||
shared-key: build-cache-${{ matrix.info.target }}
|
|
||||||
save-if: "false"
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: ClementTsang/cargo-action@v0.0.3
|
uses: ClementTsang/cargo-action@v0.0.3
|
||||||
env:
|
env:
|
||||||
@ -236,14 +226,6 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
|
|
||||||
- name: Enable Rust cache
|
|
||||||
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
|
||||||
timeout-minutes: 5
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
|
||||||
key: "build-cache-x86_64-pc-windows-msvc"
|
|
||||||
save-if: "false"
|
|
||||||
|
|
||||||
- name: Build MSI file
|
- name: Build MSI file
|
||||||
shell: powershell
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
@ -330,15 +312,6 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: ${{ matrix.info.target }}
|
target: ${{ matrix.info.target }}
|
||||||
|
|
||||||
# - name: Enable Rust cache
|
|
||||||
# if: matrix.info.cross != true
|
|
||||||
# timeout-minutes: 5
|
|
||||||
# continue-on-error: true
|
|
||||||
# uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
|
||||||
# with:
|
|
||||||
# shared-key: build-cache-${{ matrix.info.target }}
|
|
||||||
# save-if: "false"
|
|
||||||
|
|
||||||
# TODO: Could I use the previous jobs to skip this call?
|
# TODO: Could I use the previous jobs to skip this call?
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: ClementTsang/cargo-action@v0.0.3
|
uses: ClementTsang/cargo-action@v0.0.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user