Skip to content

widget message, bomb despawn #36

widget message, bomb despawn

widget message, bomb despawn #36

Workflow file for this run

name: Main
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup | just
uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup | Python 3.10
uses: actions/[email protected]
with:
python-version: '3.10'
- name: Setup | Pip Install
uses: BSFishy/pip-action@v1
with:
packages: |
toml
pylint
pylint-quotes
- name: Lint Universal
run: just lintpy
- name: Lint Cpp
run: |
just lintc
if [[ $? -ne 0 ]]; then echo "Run just format to fix"; fi
release:
name: "Release"
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup | just
uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release | Draft Release Notes
run: |
just draft-release > RELEASE_NOTES.txt
cp standalone_ftp.py ftp.py
- name: Release | Create Draft Release
uses: softprops/action-gh-release@v1
with:
draft: true
body_path: RELEASE_NOTES.txt
files: |
ftp.py