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 b2124df
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/package-linux-tarball.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: package-linux-tarball

on:
release:
types: [created]

jobs:
package:
runs-on: ubuntu-20.04

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

- name: Install Qt 6
uses: jurplel/install-qt-action@v3
with:
version: '6.6.1'
set-env: 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/[email protected]
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b2124df

Please sign in to comment.