Skip to content

Bump version: 0.0.3 → 0.0.4 #67

Bump version: 0.0.3 → 0.0.4

Bump version: 0.0.3 → 0.0.4 #67

# s. https://github.com/pallets/flask
name: Labware Ontology Python Package Push
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- main
- develop
#- seed
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
pull_request:
env:
PACKAGE_VERSION: 0.0.4
PACKAGE_NAME: labop_labware_ontology-$PACKAGE_VERSION
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- uses: actions/checkout@v3
- name: Build package
run: |
ls -Al
python -m build
# Generate hashes used for provenance.
- name: generate hash
id: hash
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
path: ./dist
name: ${{ env.PACKAGE_NAME }}