diff --git a/.gitea/workflows/buildapps.yaml b/.gitea/workflows/buildapps.yaml index 8deaf0f..91155ac 100644 --- a/.gitea/workflows/buildapps.yaml +++ b/.gitea/workflows/buildapps.yaml @@ -29,6 +29,7 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh sh /tmp/rustup.sh -y rustup target add x86_64-pc-windows-msvc + source "$HOME/.cargo/env" cargo install xwin xwin --accept-license splat --output ~/.xwin --disable-symlinks mkdir $HOME/.cargo -p @@ -46,5 +47,7 @@ jobs: - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: Try building all the apps - run: bash buildall.sh + run: | + source "$HOME/.cargo/env" + bash buildall.sh - run: echo "🍏 This job's status is ${{ job.status }}."