Skip to content

Commit

Permalink
don't use cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Charonxin committed Aug 15, 2023
1 parent 8934727 commit 6aa2a55
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci-xmake-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,35 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: cache xmake
uses: actions/cache@v2
with:
path: |
${{github.workspace}}/build/.build_cache
/Users/runner/.xmake
key: ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }}
# - name: cache xmake
# uses: actions/cache@v2
# with:
# path: |
# ${{github.workspace}}/build/.build_cache
# /Users/runner/.xmake
# key: ${{ runner.os }}-xmake-${{ hashFiles('**/xmake.lua') }}

- name: set XMAKE_GLOBALDIR
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV

- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.8.1
actions-cache-folder: '.xmake-cache'
# actions-cache-folder: '.xmake-cache'

- name: xmake repo --update
run: xmake repo --update

- name: cache
uses: actions/cache@v3
with:
path: |
${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
${{ runner.workspace }}/build/.build_cache
key: ${{ runner.os }}-xmake-qt${{ matrix.qt_ver }}-${{ hashFiles('**/xmake.lua') }}
# - name: cache
# uses: actions/cache@v3
# with:
# path: |
# ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
# ${{ runner.workspace }}/build/.build_cache
# key: ${{ runner.os }}-xmake-qt${{ matrix.qt_ver }}-${{ hashFiles('**/xmake.lua') }}

- name: config
run: xmake config --policies=build.ccache -o ${{ runner.workspace }}/build --yes -vD
run: xmake config -o ${{ runner.workspace }}/build --yes -vD
- name: build
run: xmake build --yes -vD
- name: test
Expand Down

0 comments on commit 6aa2a55

Please sign in to comment.