Skip to content

fix: psutil linux only #117

fix: psutil linux only

fix: psutil linux only #117

Workflow file for this run

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Create release if needed
id: release
uses: google-github-actions/release-please-action@v3
with:
release-type: python
package-name: release-please-action
default-branch: ${{ github.ref_name }}
token: ${{ secrets.RELEASE_TOKEN }}
extra-files: botbase/__init__.py
- name: Parse semver string
if: steps.release.outputs.release_created
id: semver_parser
uses: booxmedialtd/ws-action-parse-semver@v1
with:
input_string: ${{ steps.release.outputs.tag_name }}
- name: Mark as pre-release
if: ${{ ((steps.semver_parser.outputs.prerelease != '') || (steps.semver_parser.outputs.major == '0')) && steps.release.outputs.release_created }}
uses: tubone24/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ steps.release.outputs.tag_name }}
with:
prerelease: true