Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build job
Browse files Browse the repository at this point in the history
pedohorse committed Jan 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5cfd38f commit e96908e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pypi-pub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
tags: ["v*"]
pull_request:
branches: [ dev, master ]

jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements_tests.txt ]; then pip install -r requirements_tests.txt; fi
- name: build lifeblood
run: |
cd pkg_lifeblood
VER=${{ github.ref_name }}
VER=${VER:1}
VER="1.2.3"
sed -i "s/version = 0.3.0/version = $VER/g" setup.cfg
./build_pypi.sh
- uses: actions/upload-artifact@master
with:
name: build_lifeblood
path: |
dist/*

0 comments on commit e96908e

Please sign in to comment.