Skip to content

Commit

Permalink
ci: add workflow for static binary.
Browse files Browse the repository at this point in the history
The CI workflow will test that building the IOC is always working. The
resulting tarball for tags will also be published in the project's
release page.

We used the softprops/action-gh-release action because it was
recommended by the now unmantained official action,
actions/upload-release-asset [1].

[1] https://github.com/actions/upload-release-asset
  • Loading branch information
ericonr committed Aug 28, 2024
1 parent d5772f4 commit e61be3d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: IOC build and release
permissions:
contents: write
on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker compose up
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: rffe-epics-ioc-*.tar.gz

0 comments on commit e61be3d

Please sign in to comment.