File tree 1 file changed +15
-5
lines changed
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 15
15
with :
16
16
fetch-depth : 0
17
17
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
+
18
29
- name : Write version
19
30
run : ./scripts/insert-version-pyproject.sh ${{github.ref_name}}
20
31
@@ -23,11 +34,10 @@ jobs:
23
34
make pkg
24
35
mv ./dist/main ./generic-k8s-webhook-linux-${{github.ref_name}}
25
36
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}}
31
41
32
42
build-and-publish-to-ghcr :
33
43
# Explicitly grant the `secrets.GITHUB_TOKEN` permissions.
You can’t perform that action at this time.
0 commit comments