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 AppImage | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build docker image that produces the AppImage | |
run: | | |
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3) | |
docker build -t bionic-appimage -f docker/bionic-appimage/Dockerfile . | |
id=$(docker create --privileged bionic-appimage) | |
docker start --attach $id | |
docker cp $id:/yubikey-manager-qt/YubiKey_Manager-x86_64.AppImage yubikey-manager-qt-${REF}.AppImage | |
mkdir deploy | |
cp yubikey-manager-qt-${REF}.AppImage deploy | |
- name: Upload artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: yubikey-manager-qt-appimage | |
path: deploy |