rebase to upstream/main #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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] | |
jobs: | |
try-release: | |
strategy: | |
fail-fast: false | |
matrix: | |
GO_VERSION: | |
- "1.20.6" | |
- "1.21rc2" | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
# Enable https://github.com/golang/go/wiki/LoopvarExperiment if we're on | |
# go1.21rc2 or higher. This experiment value is unknown in lower versions. | |
- if: startsWith(matrix.GO_VERSION, '1.21') | |
run: echo "GOEXPERIMENT=loopvar" >> "$GITHUB_ENV" | |
- name: Build .deb | |
id: build | |
env: | |
GO_VERSION: ${{ matrix.GO_VERSION }} | |
run: ./tools/make-assets.sh |