@@ -29,10 +29,10 @@ jobs:
2929 - name : Download Pidgin
3030 if : steps.pidgin-cache.outputs.cache-hit != 'true'
3131 run : |
32- curl -L https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.1/pidgin-2.14.1.tar.bz2/download -o pidgin.tar.bz2
32+ curl --http1.1 - L https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.1/pidgin-2.14.1.tar.bz2/download -o pidgin.tar.bz2
3333 tar -xf pidgin.tar.bz2
3434 mv pidgin-2.14.1 pidgin
35- curl -L https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.1/pidgin-2.14.1-win32-bin.zip/download -o pidgin-win32bin.zip
35+ curl --http1.1 - L https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.1/pidgin-2.14.1-win32-bin.zip/download -o pidgin-win32bin.zip
3636 unzip pidgin-win32bin.zip
3737 cp pidgin-2.14.1-win32bin/libpurple.dll pidgin/libpurple/
3838
@@ -47,19 +47,19 @@ jobs:
4747 if : steps.win32-cache.outputs.cache-hit != 'true'
4848 run : |
4949 mkdir win32-dev
50- curl -L http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib-dev_2.28.8-1_win32.zip -o glib-dev.zip
50+ curl --http1.1 - L http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28/glib-dev_2.28.8-1_win32.zip -o glib-dev.zip
5151 unzip glib-dev.zip -d win32-dev/glib-2.28.8
52- curl -L http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev_0.18.1.1-2_win32.zip -o gettext-runtime.zip
52+ curl --http1.1 - L http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev_0.18.1.1-2_win32.zip -o gettext-runtime.zip
5353 unzip gettext-runtime.zip -d win32-dev/glib-2.28.8
54- curl -L http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev_1.2.5-2_win32.zip -o zlib-dev.zip
54+ curl --http1.1 - L http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev_1.2.5-2_win32.zip -o zlib-dev.zip
5555 unzip zlib-dev.zip -d win32-dev/glib-2.28.8
5656
5757 cd win32-dev
58- curl -L https://data.imfreedom.org/pidgin/win32/nss-3.24-nspr-4.12.tar.gz -o nss-3.24-nspr-4.12.tar.gz
58+ curl --http1.1 - L https://data.imfreedom.org/pidgin/win32/nss-3.24-nspr-4.12.tar.gz -o nss-3.24-nspr-4.12.tar.gz
5959 tar -xf nss-3.24-nspr-4.12.tar.gz
60- curl -L https://github.com/jgeboski/purple-facebook/releases/download/downloads/json-glib-0.14.tar.gz -o json-glib.tar.gz
60+ curl --http1.1 - L https://github.com/jgeboski/purple-facebook/releases/download/downloads/json-glib-0.14.tar.gz -o json-glib.tar.gz
6161 tar -xf json-glib.tar.gz
62- curl -L https://github.com/EionRobb/purple-discord/files/13785079/qrencode-4.1.1.zip -o qrencode.zip
62+ curl --http1.1 - L https://github.com/EionRobb/purple-discord/files/13785079/qrencode-4.1.1.zip -o qrencode.zip
6363 unzip qrencode.zip
6464 cd ..
6565
@@ -73,24 +73,28 @@ jobs:
7373 make libdiscord.dll
7474
7575 - name : archive
76- if : ${{ !env.ACT }}
76+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' && !env.ACT
7777 uses : actions/upload-artifact@v4
7878 with :
7979 name : plugin
8080 path : lib*.dll
8181
82+ - name : Set date
83+ id : date
84+ run : echo "DATE=$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT
85+
8286 - name : release
83- if : ${{ !env.ACT }}
87+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' && !env.ACT
8488 uses : ncipollo/release-action@v1
8589 with :
8690 artifacts : lib*.dll
87- tag : nightly -${{ github.sha }}
88- name : Nightly ${{ github.sha }}
91+ tag : daily -${{ steps.date.outputs.DATE }}
92+ name : Daily ${{ steps.date.outputs.DATE }}
8993 allowUpdates : true
9094 makeLatest : true
9195
9296 - name : attest
93- if : ${{ !env.ACT }}
97+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' && !env.ACT
9498 uses : actions/attest-build-provenance@v1
9599 with :
96100 subject-path : lib*.dll
0 commit comments