Replace the distutils package (#69) #4
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: "On Release" | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
publish-artifacts: | |
name: Publish gstatus and install script | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Build gstatus | |
run: | | |
python -m pip install --upgrade pip | |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,') make release | |
- name: Upload install.sh file | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: extras/install.sh | |
tag: ${{ github.ref }} | |
overwrite: true | |
file_glob: true | |
- name: Upload gstatus to the release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: build/gstatus | |
tag: ${{ github.ref }} | |
overwrite: true | |
file_glob: true |