caching apt

This commit is contained in:
olebeck 2022-09-04 16:30:20 +02:00
parent c96fa18221
commit 4892b1f5e2
1 changed files with 5 additions and 2 deletions

View File

@ -17,11 +17,14 @@ jobs:
check-latest: true
cache: true
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: git-crypt xxd
version: 1.0
- name: decrypt
if: ${{ !env.ACT }}
run: |
sudo apt update -y
sudo apt install git-crypt xxd -y
echo ${REPO_KEY} | xxd -r -p > ../bedrock-repo-key.key
git-crypt unlock ../bedrock-repo-key.key
rm ../bedrock-repo-key.key