Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrauhala committed Apr 26, 2024
1 parent 891dda4 commit 0cb6a76
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: RPM Build
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: build RPM package
id: rpm
uses: naveenrajm7/rpmbuild@master
with:
spec_file: "smartmet-data-models.spec"

- name: Upload artifact
uses: actions/[email protected]
with:
name: Binary RPM
path: ${{ steps.rpm.outputs.rpm_dir_path }}

0 comments on commit 0cb6a76

Please sign in to comment.