Skip to content

Commit

Permalink
cache modified
Browse files Browse the repository at this point in the history
  • Loading branch information
phoepsilonix committed Feb 12, 2025
1 parent edd2ff5 commit bd81098
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,13 @@ jobs:
DEFAULT_USER=$(whoami)
sudo mkdir -p /github/workspace/.cache/bazel/
sudo chown -R ${DEFAULT_USER}:${DEFAULT_USER} /github/workspace/.cache/bazel/
sudo mkdir -p ${{ github.workspace }}/.cache/bazel
#sudo mkdir -p ${{ github.workspace }}/.cache/bazel
- name: Bazel Cache
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/.cache/bazel
/github/workspace/.cache/bazel
key: bazel-${{ steps.startup.outputs.container_name }}-${{ steps.variables.outputs.base_tag }}-${{ steps.variables.outputs.tag_commit }}
restore-keys: |
bazel-${{ steps.startup.outputs.container_name }}-${{ steps.variables.outputs.base_tag }}-
Expand All @@ -280,7 +280,7 @@ jobs:
USE_BAZEL_VERSION: "8.0.1"
shell: bash
run: |
sudo cp -af ${{ github.workspace }}/.cache/bazel ${{ env.XDG_CACHE_HOME }}/
#sudo cp -af ${{ github.workspace }}/.cache/bazel ${{ env.XDG_CACHE_HOME }}/
NON_ROOT="${{ steps.startup.outputs.non_root }}"
export PATH=$HOME/bin:$PATH
sudo cp -a debian source/
Expand Down Expand Up @@ -407,8 +407,8 @@ jobs:
sudo chown -R ${DEFAULT_USER}:${DEFAULT_USER} ${{ env.XDG_CACHE_HOME }}
fi
cd
sudo cp -af ${{ env.XDG_CACHE_HOME }}bazel/ ${{ github.workspace }}/.cache/
sudo chown -R root:root ${{ github.workspace }}/.cache/bazel/
#sudo cp -af ${{ env.XDG_CACHE_HOME }}bazel/ ${{ github.workspace }}/.cache/
sudo chown -R root:root /github/workspace/.cache/bazel/
- name: Generate release note
id: release_note_2
shell: bash
Expand Down

0 comments on commit bd81098

Please sign in to comment.