mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[ci,abi] cache self build abigail tools
cache the packages build and reuse them.
This commit is contained in:
parent
6f66fdf28c
commit
dd5ed59df0
19
.github/workflows/abi-checker.yml
vendored
19
.github/workflows/abi-checker.yml
vendored
@ -28,7 +28,17 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{steps.pr.outputs.merge_commit_sha}}
|
ref: ${{steps.pr.outputs.merge_commit_sha}}
|
||||||
|
|
||||||
|
- name: Restore abigail tools
|
||||||
|
id: cache-abigail-tools-restore
|
||||||
|
if: always() && steps.cache-abigail-tools-restore.outputs.cache-hit != 'true'
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
key: cache-abigail-tools
|
||||||
|
path: |
|
||||||
|
.
|
||||||
|
|
||||||
- name: "Prepare abigail-tools"
|
- name: "Prepare abigail-tools"
|
||||||
|
if: always() && steps.cache-abigail-tools-restore.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
mkdir deb
|
mkdir deb
|
||||||
cd deb
|
cd deb
|
||||||
@ -40,6 +50,15 @@ jobs:
|
|||||||
dpkg-buildpackage
|
dpkg-buildpackage
|
||||||
sudo dpkg -i ../*.deb
|
sudo dpkg -i ../*.deb
|
||||||
|
|
||||||
|
- name: Save abigail tools
|
||||||
|
id: cache-abigail-tools-save
|
||||||
|
if: always() && steps.cache-abigail-tools-restore.outputs.cache-hit != 'true'
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
key: cache-abigail-tools
|
||||||
|
path: |
|
||||||
|
.
|
||||||
|
|
||||||
- name: "Prepare environment"
|
- name: "Prepare environment"
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -q -y
|
sudo apt-get update -q -y
|
||||||
|
Loading…
Reference in New Issue
Block a user