Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /aimmo-game (… #145

build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /aimmo-game (…

build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /aimmo-game (… #145

name: Publish Python Package
on:
push:
branches:
- master
paths-ignore:
- "CHANGELOG.md"
- "aimmo/__init__.py"
jobs:
publish-pypi-package:
name: Publish PyPi Package
runs-on: ubuntu-20.04
env:
NODE_ENV: production
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
architecture: "x64"
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install frontend dependencies
run: |
cd game_frontend
yarn --frozen-lockfile
- name: Install wheel
run: pip install wheel
- name: Build worker wheel
run: ./aimmo_runner/build_worker_wheel.sh
- name: Bundle Frontend
run: |
cd game_frontend
node djangoBundler.js
- name: Release aimmo
uses: relekang/[email protected]
with:
github_token: ${{ secrets.CFL_BOT_GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}