We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d243c92 commit 5e98d4bCopy full SHA for 5e98d4b
.github/workflows/ci.yml
@@ -4,11 +4,25 @@ on:
4
push:
5
branches: [master]
6
7
+env:
8
+ RESTIC_VERSION: "0.17.1"
9
+
10
jobs:
11
test:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v3
15
16
+ - name: Install restic@${{ env.RESTIC_VERSION }}
17
+ run: |
18
+ mkdir -p tools/restic
19
+ curl --fail --location --silent --show-error --output tools/restic/restic.bz2 \
20
+ "https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_amd64.bz2"
21
+ bzip2 -d tools/restic/restic.bz2
22
+ chmod +x tools/restic/restic
23
+ echo "$GITHUB_WORKSPACE/tools/restic" >> "$GITHUB_PATH"
24
+ - run: restic version
25
26
- uses: actions/setup-go@v3
27
with:
28
go-version: '^1.21'
0 commit comments