Skip to content

Commit

Permalink
Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoRosendo committed Aug 31, 2024
1 parent 3026436 commit 635e0db
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read


jobs:
release-build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: Build release distributions
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build
python -m build
- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/

pypi-publish:
runs-on: ubuntu-latest

needs:
- release-build

permissions:
id-token: write

environment:
name: release
url: https://pypi.org/p/vrp-quantum-solver

steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/

- name: Publish release distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "vrp-quantum-solver"
version = "0.0.1"
version = "1.0.0"
authors = [
{ name="Bruno Rosendo", email="[email protected]" },
]
Expand All @@ -20,4 +20,4 @@ classifiers = [
[project.urls]
Homepage = "https://github.com/BrunoRosendo/vrp-quantum-solver"
Issues = "https://github.com/BrunoRosendo/vrp-quantum-solver/issues"
Dissertation = "https://hdl.handle.net/10216/160532"
Thesis = "https://hdl.handle.net/10216/160532"

0 comments on commit 635e0db

Please sign in to comment.