@@ -77,19 +77,19 @@ jobs:
77
77
sudo CFLAGS="-m32" LDFLAGS="-m32" ./configure --prefix=/tmp/python-build --enable-optimizations
78
78
sudo make -j$(nproc)
79
79
sudo make altinstall
80
-
80
+
81
81
- name : Setup installation
82
82
run : |
83
83
84
84
sudo mkdir -p /tmp/python-build/lib/tmp
85
85
cd /tmp/python-build/lib/tmp
86
86
sudo ar -x ../libpython3.11.a
87
87
sudo gcc -m32 -shared -o ../libpython-3.11.8.so *.o
88
-
88
+
89
89
cd /tmp/python-build/lib
90
90
sudo rm -rf tmp
91
91
ls
92
-
92
+
93
93
# Remove unimportant files that take up lots of space
94
94
sudo rm -rf /tmp/python-build/lib/python3.11/test/
95
95
sudo rm -rf /tmp/python-build/lib/python3.11/__pycache__/
@@ -122,19 +122,42 @@ jobs:
122
122
name : python-linux
123
123
path : /tmp/python-build
124
124
125
+ release :
126
+ needs : [build-windows, build-linux]
127
+ permissions :
128
+ contents : write
129
+ issues : write
130
+ pull-requests : write
131
+
132
+ runs-on : ubuntu-latest
133
+
134
+ steps :
135
+ - name : Checkout repository
136
+ uses : actions/checkout@v4
137
+
138
+ - name : Download Windows Artifact
139
+ uses : actions/download-artifact@v4
140
+ with :
141
+ name : python-windows
142
+ path : ./artifacts/windows
143
+
144
+ - name : Download Linux Artifact
145
+ uses : actions/download-artifact@v4
146
+ with :
147
+ name : python-linux
148
+ path : ./artifacts/linux
149
+
125
150
- name : Set up Node.js
126
151
uses : actions/setup-node@v3
127
152
with :
128
153
node-version : 20
129
154
130
155
- name : Install Semantic Release
131
156
run : npm install --save-dev semantic-release @semantic-release/github @semantic-release/exec @semantic-release/changelog @semantic-release/git
132
- env :
157
+ env :
133
158
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
134
159
135
160
- name : Create GitHub Release
136
161
run : npx semantic-release
137
162
env :
138
163
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139
-
140
-
0 commit comments