Skip to content

Commit 794fb8d

Browse files
committed
fixed missing build requirement and added removed published trigger
1 parent 65d2635 commit 794fb8d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Release to PyPi
44

55
on:
66
release:
7-
types: [created, published]
7+
types: [created]
88
workflow_dispatch:
99
inputs:
1010
PACKAGE_VERSION:
@@ -45,6 +45,7 @@ jobs:
4545
- name: Set Release Version - GitHub Release
4646
if: github.event_name != 'workflow_dispatch'
4747
run: |
48+
echo "github.event_name = ${{ github.event_name }}"
4849
export PACKAGE_VERSION=${GITHUB_REF_SLUG}
4950
echo -n $PACKAGE_VERSION > ./version
5051
echo "PACKAGE_VERSION=${PACKAGE_VERSION}" >> $GITHUB_ENV

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ audacity-restart: audacity-kill audacity-start
187187
##----
188188
venv-prepare: ## Create a Python virtual environment with venv
189189
python -m venv ${VENV_DIR_PATH} && \
190-
python -m pip install -U pip wheel setuptools && \
190+
python -m pip install -U pip wheel setuptools build && \
191191
ls ${VENV_DIR_PATH}
192192

193193
venv-install: ## Install Python packages

0 commit comments

Comments
 (0)