Skip to content

Commit

Permalink
chore: init build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Loc Mai <[email protected]>
  • Loading branch information
locmai committed Feb 8, 2023
1 parent 86837b3 commit 763bf68
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "Build"

on:
push:
branches: ["master"]
workflow_dispatch:

jobs:
build:
strategy:
matrix:
os: ["7", "bionic", "focal"]
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- name: "Build for ${{ matrix.os }}"
run: |
export OS_VERSION=${{ matrix.os }}
make package
- name: Upload math result for job 1
uses: actions/upload-artifact@v3
with:
name: pkg
path: omnibus/pkg/*
list-packages:
needs: build
runs-on: "ubuntu-latest"
steps:
- name: Download packages from build job
uses: actions/download-artifact@v3
with:
name: pkg
- name: List packages
shell: bash
run: |
ls

0 comments on commit 763bf68

Please sign in to comment.