mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Compare commits
4 Commits
1.4.2
...
action-tes
Author | SHA1 | Date | |
---|---|---|---|
3c43906977 | |||
0ca8609bb7 | |||
394cac155f | |||
4d57ef2fb0 |
9
.github/workflows/python-publish.yml
vendored
9
.github/workflows/python-publish.yml
vendored
@ -13,6 +13,10 @@ jobs:
|
||||
click-version: [ "click~=8.0" ]
|
||||
|
||||
steps:
|
||||
- name: Run Action
|
||||
id: yaclog-show
|
||||
uses: drewcassidy/yaclog@action-test
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
@ -39,10 +43,6 @@ jobs:
|
||||
- name: Run Unit Tests
|
||||
run: python -m unittest -v
|
||||
|
||||
- name: Run Action
|
||||
id: yaclog-show
|
||||
uses: ./
|
||||
|
||||
deploy:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
@ -52,6 +52,7 @@ jobs:
|
||||
url: https://pypi.org/p/yaclog
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -46,7 +46,11 @@ runs:
|
||||
|
||||
- name: Setup Yaclog
|
||||
shell: bash
|
||||
run: pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }}
|
||||
run: |
|
||||
[[ "$ACTION_REF" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] && export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_YACLOG="$ACTION_REF"
|
||||
pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }}
|
||||
env:
|
||||
ACTION_REF: ${{ github.action_ref }}
|
||||
|
||||
- name: Create New Release
|
||||
shell: bash
|
||||
|
@ -60,4 +60,4 @@ Docs = "https://yaclog.readthedocs.io/"
|
||||
fallback_version = "0.0.0"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["yaclog"]
|
||||
include = ["yaclog*"]
|
Reference in New Issue
Block a user