mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
[GA] tmp disable build cache
This commit is contained in:
4
.github/actions/build/action.yml
vendored
4
.github/actions/build/action.yml
vendored
@@ -10,10 +10,6 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: dependencies
|
||||
uses: ./.github/actions/dependencies
|
||||
with:
|
||||
configuration: ${{ inputs.configuration }}
|
||||
- name: configure
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
5
.github/actions/dependencies/action.yml
vendored
5
.github/actions/dependencies/action.yml
vendored
@@ -20,7 +20,8 @@ runs:
|
||||
path: ~/.conan/data
|
||||
key: ${{ inputs.cache-key }}-${{ inputs.configuration }}-conan-${{ hashFiles('conanfile.py') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-conan-
|
||||
${{ inputs.cache-key }}-${{ inputs.configuration }}-conan-
|
||||
${{ inputs.cache-key }}-conan-
|
||||
|
||||
- name: install dependencies
|
||||
if: steps.cache-restore.outputs.cache-hit != 'true'
|
||||
@@ -39,4 +40,4 @@ runs:
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ~/.conan/data
|
||||
key: ${{ steps.cache-restore.outputs.cache-primary-key }}
|
||||
key: ${{ inputs.cache-key }}-${{ inputs.configuration }}-conan-${{ hashFiles('conanfile.py') }}
|
||||
|
||||
30
.github/workflows/macos.ga.yml
vendored
30
.github/workflows/macos.ga.yml
vendored
@@ -92,15 +92,15 @@ jobs:
|
||||
SAFE_BRANCH=$(echo "${{ github.ref_name }}" | tr -c 'a-zA-Z0-9_.-' '-')
|
||||
echo "name=${SAFE_BRANCH}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Restore build directory cache
|
||||
id: build-cache-restore
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ${{ env.build_dir }}
|
||||
key: ${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-${{ hashFiles('**/conanfile.txt', '**/conanfile.py') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-
|
||||
${{ runner.os }}-build-${{ matrix.configuration }}-
|
||||
# - name: Restore build directory cache
|
||||
# id: build-cache-restore
|
||||
# uses: actions/cache/restore@v4
|
||||
# with:
|
||||
# path: ${{ env.build_dir }}
|
||||
# key: ${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-${{ hashFiles('**/conanfile.txt', '**/conanfile.py') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-build-${{ matrix.configuration }}-${{ steps.safe-branch.outputs.name }}-
|
||||
# ${{ runner.os }}-build-${{ matrix.configuration }}-
|
||||
|
||||
- name: Build
|
||||
uses: ./.github/actions/build
|
||||
@@ -108,12 +108,12 @@ jobs:
|
||||
generator: ${{ matrix.generator }}
|
||||
configuration: ${{ matrix.configuration }}
|
||||
|
||||
- name: Save build directory cache
|
||||
if: success()
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ env.build_dir }}
|
||||
key: ${{ steps.build-cache-restore.outputs.cache-primary-key }}
|
||||
# - name: Save build directory cache
|
||||
# if: success()
|
||||
# uses: actions/cache/save@v4
|
||||
# with:
|
||||
# path: ${{ env.build_dir }}
|
||||
# key: ${{ steps.build-cache-restore.outputs.cache-primary-key }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user