更新 .gitea/workflows/build.yaml
Build and Publish / Run (push) Successful in 1m7s Details

This commit is contained in:
cxykevin 2024-04-21 11:11:19 +08:00
parent 91d1cbc70a
commit 31f450331d
1 changed files with 1 additions and 4 deletions

View File

@ -5,9 +5,6 @@ on: [push, workflow_dispatch, pull_request]
jobs: jobs:
Run: Run:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/<your-pypi-project-name>
steps: steps:
- name: Info - name: Info
run: echo "OS=${{ runner.os }} NAME=${{ gitea.event_name }} REPO=${{ gitea.repository }} BRANCH=${{ gitea.ref }} ST=${{ job.status }} RUNID=${{ gitea.run_id }}" run: echo "OS=${{ runner.os }} NAME=${{ gitea.event_name }} REPO=${{ gitea.repository }} BRANCH=${{ gitea.ref }} ST=${{ job.status }} RUNID=${{ gitea.run_id }}"
@ -26,7 +23,7 @@ jobs:
apt-get install python3-pip -y apt-get install python3-pip -y
python3 -m pip install setuptools wheel twine -i https://pypi.tuna.tsinghua.edu.cn/simple python3 -m pip install setuptools wheel twine -i https://pypi.tuna.tsinghua.edu.cn/simple
- name: CheckOut - name: CheckOut
uses: http://hmtsai.cn:3000/actions/checkout@v4 uses: http://git.hmtsai.cn/actions/checkout@v4
- name: Write Config - name: Write Config
run: | run: |
echo "${{ gitea.run_id }}">runid.conf echo "${{ gitea.run_id }}">runid.conf