Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump artifacts v3->v4 #1792

Merged
merged 21 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/build-containerlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build-clab

"on":
workflow_call:
inputs:
go_ver:
required: true
type: string

jobs:
build-clab:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: WillAbides/setup-go-faster@v1.13.0
with:
go-version: ${{ inputs.go_ver }}

- name: Cache go modules
uses: actions/cache@v3
with:
# In order:
# * Module download cache
# * Build cache (Linux)
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Build containerlab
run: make build-with-podman-debug BINARY=containerlab
# store clab binary as artifact
- name: Upload containerlab binary
uses: actions/upload-artifact@v4
with:
name: containerlab
path: containerlab
compression-level: 0
Loading
Loading