Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: twindb/backup
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: OpenAxon/twindb-backup
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 6 commits
  • 2 files changed
  • 1 contributor

Commits on Feb 8, 2023

  1. chore: init build workflow

    Signed-off-by: Loc Mai <[email protected]>
    locmai committed Feb 8, 2023
    Copy the full SHA
    763bf68 View commit details
  2. docs: add PR template

    Signed-off-by: Loc Mai <[email protected]>
    locmai committed Feb 8, 2023
    Copy the full SHA
    c1cfea9 View commit details
  3. fix: typo in PR template

    Signed-off-by: Loc Mai <[email protected]>
    locmai committed Feb 8, 2023
    Copy the full SHA
    d8e9212 View commit details
  4. Merge pull request #1 from OpenAxon/init-build-workflow

    chore (build.yml): initialize build workflow
    locmai authored Feb 8, 2023
    Copy the full SHA
    6b69d22 View commit details
  5. chore: finalize build workflow

    Signed-off-by: Loc Mai <[email protected]>
    locmai committed Feb 8, 2023
    Copy the full SHA
    f7ada69 View commit details
  6. Merge pull request #2 from OpenAxon/finalize-build-workflow

    chore: finalize build workflow
    locmai authored Feb 8, 2023
    Copy the full SHA
    6b46367 View commit details
Showing with 58 additions and 0 deletions.
  1. +13 −0 .github/PULL_REQUEST_TEMPLATE.md
  2. +45 −0 .github/workflows/build.yml
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### What this PR does / why we need it

### Which issue this PR fixes

*(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*

- fixes #

### Checklist
<!-- [Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.] -->
- [ ] README.md was updated
- [ ] Git commits were signed
- [ ] Version was bumped
45 changes: 45 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: "Build and release"

on:
push:
tags:
- "v*.*.*"

jobs:
build:
strategy:
matrix:
os: ["7", "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 package for passing to release job
uses: actions/upload-artifact@v3
with:
name: "pkg"
path: "omnibus/pkg/*"
release:
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
- name: "Release packages"
uses: "softprops/action-gh-release@v1"
with:
generate_release_notes: true
files: |
*.rpm
*.deb
...