Skip to content

Commit 9673c13

Browse files
jordijordipiqueselles
jordi
authored andcommitted
Fix the job that published the self-contained package
1 parent 0cba751 commit 9673c13

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/publish-artifacts.yaml

+15-5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18+
- name: Check pyproject.toml
19+
run: make check-pyproject
20+
21+
- name: Set up Python 3.11
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: "3.11"
25+
26+
- name: Install poetry
27+
run: python3 -m pip install poetry
28+
1829
- name: Write version
1930
run: ./scripts/insert-version-pyproject.sh ${{github.ref_name}}
2031

@@ -23,11 +34,10 @@ jobs:
2334
make pkg
2435
mv ./dist/main ./generic-k8s-webhook-linux-${{github.ref_name}}
2536
26-
# FIXME Uncomment this once we enable softprops/action-gh-release@v2
27-
# - name: Publish package
28-
# uses: softprops/action-gh-release@v2
29-
# with:
30-
# files: generic-k8s-webhook-linux-${{github.ref_name}}
37+
- name: Publish package
38+
uses: softprops/action-gh-release@v2
39+
with:
40+
files: generic-k8s-webhook-linux-${{github.ref_name}}
3141

3242
build-and-publish-to-ghcr:
3343
# Explicitly grant the `secrets.GITHUB_TOKEN` permissions.

0 commit comments

Comments
 (0)