diff --git a/.gitea/workflows/linux.yaml b/.gitea/workflows/linux.yaml index 89544a6..37e7b18 100644 --- a/.gitea/workflows/linux.yaml +++ b/.gitea/workflows/linux.yaml @@ -7,6 +7,13 @@ jobs: Build: runs-on: ubuntu-test steps: + - name: Prepare Xmake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: latest + actions-cache-folder: '.xmake-cache' + actions-cache-key: 'ubuntu-xmake' + - name: Check out repository code uses: actions/checkout@v3 @@ -23,13 +30,6 @@ jobs: ./.xmake key: 'ubuntu' - - name: Prepare Xmake - uses: xmake-io/github-action-setup-xmake@v1 - with: - xmake-version: latest - actions-cache-folder: '.xmake-cache' - actions-cache-key: 'ubuntu-xmake' - - name: XMake config run: xmake f -p linux -y --root