Skip to content

Commit b55e03f

Browse files
committed
First public version
1 parent 3895aa6 commit b55e03f

File tree

76 files changed

+629
-6516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+629
-6516
lines changed

.github/workflows/publish.yml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Publish Python Package
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.9'
20+
21+
- name: Install build tools
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install build twine
25+
26+
- name: Build the package
27+
run: |
28+
python -m build
29+
30+
- name: Publish to PyPI
31+
env:
32+
TWINE_USERNAME: __token__
33+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
34+
run: |
35+
python -m twine upload dist/*
36+
37+
- name: Create GitHub Release
38+
id: create_release
39+
uses: actions/create-release@v1
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
with:
43+
tag_name: ${{ github.sha }} # Use the commit SHA as the release tag
44+
release_name: Release ${{ github.sha }}
45+
draft: false
46+
prerelease: false
47+
48+
- name: Upload package to GitHub Release
49+
uses: actions/upload-release-asset@v1
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
with:
53+
upload_url: ${{ steps.create_release.outputs.upload_url }}
54+
asset_path: dist/*.tar.gz
55+
asset_name: package.tar.gz
56+
asset_content_type: application/gzip

Game/game.py

-105
This file was deleted.

Game/runner.py

-38
This file was deleted.

GameRunner/Bots.dll

-66 KB
Binary file not shown.

0 commit comments

Comments
 (0)