README: Edit text #680
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build a source package | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build a .tar.gz source package | |
run: | | |
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3) | |
git archive --format=tar.gz --prefix=yubikey-manager-qt/ -o yubikey-manager-qt-$REF.tar.gz HEAD | |
mkdir deploy | |
mv yubikey-manager-qt-$REF.tar.gz deploy | |
- name: Upload artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: yubikey-manager-qt-source-package | |
path: deploy |