-
-
Notifications
You must be signed in to change notification settings - Fork 607
44 lines (39 loc) · 1.18 KB
/
try-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Try building the Boulder Debian package on every PR and push to main.
# This is to make sure the actual release job will succeed when we tag a
# release.
# Keep in sync with release.yml
name: Try release
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
try-release:
strategy:
fail-fast: false
matrix:
GO_VERSION:
- "1.23.1"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build .deb
id: build
env:
GO_VERSION: ${{ matrix.GO_VERSION }}
run: ./tools/make-assets.sh
- name: Compute checksums
id: checksums
# The files listed on this line must be identical to the files uploaded
# in the last step of the real release action.
run: sha256sum boulder*.deb boulder*.tar.gz >| boulder-${{ matrix.GO_VERSION }}.$(date +%s)-$(git rev-parse --short=8 HEAD).checksums.txt
- name: List files
id: files
run: ls boulder*.deb boulder*.tar.gz boulder*.checksums.txt
- name: Show checksums
id: check
run: cat boulder*.checksums.txt