@@ -77,19 +77,19 @@ jobs:
7777 sudo CFLAGS="-m32" LDFLAGS="-m32" ./configure --prefix=/tmp/python-build --enable-optimizations
7878 sudo make -j$(nproc)
7979 sudo make altinstall
80-
80+
8181 - name : Setup installation
8282 run : |
8383
8484 sudo mkdir -p /tmp/python-build/lib/tmp
8585 cd /tmp/python-build/lib/tmp
8686 sudo ar -x ../libpython3.11.a
8787 sudo gcc -m32 -shared -o ../libpython-3.11.8.so *.o
88-
88+
8989 cd /tmp/python-build/lib
9090 sudo rm -rf tmp
9191 ls
92-
92+
9393 # Remove unimportant files that take up lots of space
9494 sudo rm -rf /tmp/python-build/lib/python3.11/test/
9595 sudo rm -rf /tmp/python-build/lib/python3.11/__pycache__/
@@ -122,19 +122,42 @@ jobs:
122122 name : python-linux
123123 path : /tmp/python-build
124124
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+
125150 - name : Set up Node.js
126151 uses : actions/setup-node@v3
127152 with :
128153 node-version : 20
129154
130155 - name : Install Semantic Release
131156 run : npm install --save-dev semantic-release @semantic-release/github @semantic-release/exec @semantic-release/changelog @semantic-release/git
132- env :
157+ env :
133158 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
134159
135160 - name : Create GitHub Release
136161 run : npx semantic-release
137162 env :
138163 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139-
140-
0 commit comments