mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
Avoid caching in our release workflow
This is a malware distrib vector, and we run this workflow sporadically enough that we can afford to do so uncached.
This commit is contained in:
@@ -15,8 +15,8 @@ env:
|
|||||||
CMAKE_CONFIG_TYPE: Release # `cmake --build` now implies `--config Release`.
|
CMAKE_CONFIG_TYPE: Release # `cmake --build` now implies `--config Release`.
|
||||||
|
|
||||||
# We instruct CMake to download and build third-party projects in the same place as in `testing.yml`
|
# We instruct CMake to download and build third-party projects in the same place as in `testing.yml`
|
||||||
# for the sources cache to remain valid.
|
# to prevent divergence between testing and release workflows.
|
||||||
DEPS_ROOT_DIR: ~/_deps # Note that this needs to be used in a position where Bash will trigger tilde expansion!
|
DEPS_ROOT_DIR: ~/_deps
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
windows:
|
windows:
|
||||||
@@ -41,12 +41,6 @@ jobs:
|
|||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
bash .github/scripts/install_deps.sh windows
|
bash .github/scripts/install_deps.sh windows
|
||||||
- name: Cache library deps
|
|
||||||
uses: actions/cache@v5
|
|
||||||
with:
|
|
||||||
path: ${{ env.DEPS_ROOT_DIR }}/*-tmp/
|
|
||||||
key: dep-srcs-${{ hashFiles('cmake/deps.cmake') }}
|
|
||||||
enableCrossOsArchive: true
|
|
||||||
- name: Build Windows binaries
|
- name: Build Windows binaries
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user