File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
paths-ignore :
6
6
- ' README.md'
7
+ - ' LICENSE'
7
8
8
9
jobs :
9
10
tests :
10
11
runs-on : ubuntu-latest
11
12
steps :
13
+ # Check out the repository
12
14
- uses : actions/checkout@master
15
+
16
+ # Prepare the environment
17
+ - name : Prepare
18
+ id : prepare
19
+ run : |
20
+ echo "::set-output name=datetime::$(date +"%Y%m%d%H%M")"
21
+ echo "::set-output name=workspace::${GITHUB_WORKSPACE}"
22
+ mkdir -p "${GITHUB_WORKSPACE}/distfiles" "${GITHUB_WORKSPACE}/binpkgs"
23
+
24
+ # Cache distfiles and binary packages
25
+ - name : Cache distfiles
26
+ id : cache-distfiles
27
+
28
+ with :
29
+ path : ${{ steps.prepare.outputs.workspace }}/distfiles
30
+ key : distfiles-${{ steps.prepare.outputs.datetime }}
31
+ restore-keys : |
32
+ distfiles-${{ steps.prepare.outputs.datetime }}
33
+ distfiles
34
+ - name : Cache binpkgs
35
+ id : cache-binpkgs
36
+
37
+ with :
38
+ path : ${{ steps.prepare.outputs.workspace }}/binpkgs
39
+ key : binpkgs-${{ steps.prepare.outputs.datetime }}
40
+ restore-keys : |
41
+ binpkgs-${{ steps.prepare.outputs.datetime }}
42
+ binpkgs
43
+
44
+ # Run the ebuild tests
13
45
- uses : hacking-gentoo/action-ebuild-test@master
14
46
env :
15
47
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments