name: Dist on: [push, pull_request] jobs: dist_source: name: Source runs-on: ubuntu-18.04 steps: - name: Checkout code uses: actions/checkout@v2 - name: Install packages run: | sudo apt -qqy update sudo apt -qqy install build-essential make python python-yaml bc git - name: Dist source run: | make dist-source - name: Upload artifact uses: actions/upload-artifact@v2 with: name: source-artifact path: dist/*.tar.xz