Fix some typo #43
Workflow file for this run
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: CI | |
on: | |
push: | |
#branches: [ ci ] | |
tags: | |
- 'v.*.*.*' | |
- ci | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Otherwise `git describe --tags` doesn't work | |
- uses: actions/checkout@v2 | |
with: | |
repository: son-link/PQMusic | |
path: pqmusic | |
- name: Install dependencies | |
run: | | |
sudo apt clean | |
sudo apt update && sudo apt-get install -yq fuse libdbus-1-dev --fix-missing | |
- name: Create AppImage | |
run: | | |
# Build AppImage | |
ARCH=$(uname -m) | |
VERSION=$(git describe --tags --always) | |
./build-appimage.sh | |
- name: Archive AppImage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: AppImage | |
path: PQMusic-*.AppImage | |
- name: Create release and upload artifacts | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage | |
chmod +x pyuploadtool-x86_64.AppImage | |
./pyuploadtool-x86_64.AppImage PQMusic-*.AppImage |