-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #314 from cfergeau/gh
github actions/dependabot improvements
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Release build | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 # explicitly use 20.04, see commit 428c40018a | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: >- | ||
WORKAROUND: Fetch tags that points to the revisions | ||
checked-out(actions/checkout#1467) | ||
run: |- | ||
git fetch --tags --force | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
|
||
- name: Build | ||
run: | | ||
make cross qemu-wrapper vm win-gvproxy win-sshproxy | ||
mv bin/gvproxy.exe bin/gvproxy-windowsgui.exe | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: gvisor-tap-vsock-binaries | ||
path: bin/* |