Skip to content

Commit 530565f

Browse files
committed
comments [no-bump]
1 parent 53c8cf0 commit 530565f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ jobs:
147147
with:
148148
fetch-depth: 0 # required to see tags and commits
149149
ref: ${{ github.sha }} # lock to triggered commit ('github.ref' is dynamic)
150-
151150
- uses: actions/setup-python@v5 # needed for building project
152151
with:
153152
python-version: "${{ fromJSON(needs.py-versions.outputs.matrix)[0] }}"
154153

154+
# Get Next Version & Tag
155155
- uses: WIPACrepo/wipac-dev-next-version-action@v1.2
156156
id: next-version
157157
with:
@@ -161,26 +161,28 @@ jobs:
161161
assets/**
162162
dependencies-logs/**
163163
resources/foo/**
164-
165164
- if: steps.next-version.outputs.version != ''
166165
name: Tag New Version
167166
run: |
168167
set -euo pipefail; echo "now: $(date -u +"%Y-%m-%dT%H:%M:%S.%3N")"
169168
git tag v${{ steps.next-version.outputs.version }} # note: prepend 'v'
170169
git push origin --tags
171170
171+
# Build Python Package
172172
- if: steps.next-version.outputs.version != ''
173173
uses: WIPACrepo/wipac-dev-py-build-action@v1.0
174174
# -> uses the most recent git tag for versioning (aka the one made above)
175175
# -> creates 'dist/' files
176176

177+
# GitHub Release
177178
- if: steps.next-version.outputs.version != ''
178179
uses: softprops/action-gh-release@v2
179180
with:
180181
files: dist/*
181182
tag_name: v${{ steps.next-version.outputs.version }} # must match git tag above
182183
generate_release_notes: true
183184

185+
# PyPI Release
184186
- if: steps.next-version.outputs.version != ''
185187
uses: pypa/gh-action-pypi-publish@release/v1
186188
with:

0 commit comments

Comments
 (0)