Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Undertone0809/ecjtu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: Undertone0809/ecjtu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.1
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Apr 19, 2024

  1. Copy the full SHA
    570797a View commit details
  2. build: rm useless depc

    Undertone0809 committed Apr 19, 2024
    Copy the full SHA
    bbd20fd View commit details
Showing with 56 additions and 1,912 deletions.
  1. +36 −0 .github/workflows/python-publish.yml
  2. +1 −1 README.md
  3. +18 −1,909 poetry.lock
  4. +1 −2 pyproject.toml
36 changes: 36 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# https://testdriven.io/tips/810f9bb5-c9df-479d-baa4-290c7e0779f1/
# https://github.com/abatilo/actions-poetry

name: Release Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
publish:
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.7.1]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Publish
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_API_TOKEN
poetry publish --build
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ All your need is ECJTU API SDK service

ecjtu 是一个用 Pythonic 的 ECJTU API SDK,旨在为开发者提供一个简洁、高效的方式来访问和管理其学籍资料、成绩、课表等信息,构建自己的应用程序 🌟。

欢迎校友加入 EFC(ECJTU For Code),我们致力于构建一个充满活力的平台,集结校园内外对技术充满热情的开发者、技术爱好者以及创新思维者。在这里,您可以自由地分享您的编程知识,展示您的创新项目,以及与志同道合的人一起推动开源文化的发展
欢迎校友加入 EFC(ECJTU For Code),我们致力于构建一个充满活力的平台,集结校园内外对技术充满热情的开发者、技术爱好者。在这里,您可以自由地分享您的编程知识,展示您的创新项目,以及与志同道合的人一起推动开源文化的发展,make sth happen


<div style="width: 250px;margin: 0 auto;">
Loading