Skip to content

Commit

Permalink
add release github action to attach a dist tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDaveD committed Jul 3, 2023
1 parent 7ce9d15 commit 23ba99f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: release
on:
release:
types: [created]

jobs:
release_assets:
name: release_assets
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'created'

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y automake autoconf libtool pkg-config \
zlib1g-dev liblzo2-dev liblzma-dev liblz4-dev libzstd-dev fio \
libfuse-dev fuse
- name: Build
run: |
./autogen.sh
./configure
make dist V=1
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
*.tar.gz

0 comments on commit 23ba99f

Please sign in to comment.