Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
panyi committed Aug 2, 2024
1 parent 50bff26 commit 98ab72d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/publish-to-fofa-hack-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: Publish Python 🐍 distributions 📦 to PyPI
name: Publish

on:
push:
branches:
- test
on: push

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
jobs:
build:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
runs-on: ubuntu-latest

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build wheels and source tarball
run: |
python setup.py sdist build
- name: Publish open-autonomy Framework to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
skip_existing: true
packages_dir: dist/
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# edit test py 2
# edit test py 3

0 comments on commit 98ab72d

Please sign in to comment.