chore(deps): update all non-major dependencies (#473) #313
This file contains hidden or 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
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
branches: | |
- master | |
name: Canary | |
jobs: | |
canary: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5 | |
with: | |
go-version: '^1.16.3' | |
- name: Build Hermit | |
run: | | |
make GOOS=linux GOARCH=amd64 CHANNEL=canary build | |
make GOOS=linux GOARCH=arm64 CHANNEL=canary build | |
make GOOS=darwin GOARCH=amd64 CHANNEL=canary build | |
make GOOS=darwin GOARCH=arm64 CHANNEL=canary build | |
INSTALLER_VERSION=$(go run -ldflags "-X main.channel=canary" ./cmd/hermit gen-installer --dest=build/install.sh) | |
cp build/install.sh build/install-"${INSTALLER_VERSION}".sh | |
- name: Release canary | |
uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # ratchet:ncipollo/release-action@v1 | |
with: | |
tag: canary | |
name: Canary | |
allowUpdates: true | |
artifacts: "build/*" | |
token: ${{ secrets.GITHUB_TOKEN }} |