|
|
|
|
@ -7,7 +7,8 @@ on:
|
|
|
|
|
branches:
|
|
|
|
|
- main
|
|
|
|
|
|
|
|
|
|
permissions: read-all
|
|
|
|
|
permissions:
|
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
|
|
# Note the only differences between release and canary-release jobs are:
|
|
|
|
|
# - only canary passes --overwrite flag
|
|
|
|
|
@ -23,6 +24,7 @@ jobs:
|
|
|
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # pin@v7.0.1
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
|
|
- name: Add variables to environment file
|
|
|
|
|
run: cat ".github/env" >> "$GITHUB_ENV"
|
|
|
|
|
@ -38,8 +40,8 @@ jobs:
|
|
|
|
|
run: |
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
|
|
|
|
|
make build-cross VERSION="${{ github.ref_name }}"
|
|
|
|
|
make dist checksum VERSION="${{ github.ref_name }}"
|
|
|
|
|
make build-cross VERSION="${GITHUB_REF_NAME}"
|
|
|
|
|
make dist checksum VERSION="${GITHUB_REF_NAME}"
|
|
|
|
|
|
|
|
|
|
- name: Set latest version
|
|
|
|
|
run: |
|
|
|
|
|
@ -88,6 +90,7 @@ jobs:
|
|
|
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # pin@v7.0.1
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
persist-credentials: false
|
|
|
|
|
|
|
|
|
|
- name: Add variables to environment file
|
|
|
|
|
run: cat ".github/env" >> "$GITHUB_ENV"
|
|
|
|
|
|