Skip to content

Commit

Permalink
Add workflow to create tarball for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Feb 19, 2024
1 parent 8ae2a66 commit 2e633e9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/package-linux-tarball.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: package-linux-tarball

on:
release:
types: [created]

jobs:
package:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: Run tarball script
run: |
./packaging/package-linux-tarball.sh .
mv mrtrix.tar.gz mrtrix3-$(git describe --tags --abbrev=0)-linux.tar.gz
- name: Upload package to GitHub Release
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2e633e9

Please sign in to comment.