@@ -59,19 +59,14 @@ jobs:
5959 AC_PASSWORD : ${{ secrets.AC_PASSWORD }}
6060 run : ./.github/scripts/package-macOS.sh plugdata-macOS-Universal.pkg
6161
62- - name : Authorise Google Cloud
62+ - name : Upload to Cloud Storage
6363 if : github.ref == 'refs/heads/develop'
64- uses : " google-github-actions/auth@v2"
65- with :
66- credentials_json : ${{ secrets.GCP_SA_KEY }}
67-
68- - name : Upload to Google Cloud
69- if : github.ref == 'refs/heads/develop'
70- uses : " google-github-actions/upload-cloud-storage@v2"
71- with :
72- path : ./
73- glob : ./plugdata-macOS-Universal.*
74- destination : " plugdata-nightly"
64+ run : |
65+ aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
66+ aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
67+ aws configure set default.region eu-north-1
68+ aws s3 cp ./plugdata-macOS-Universal.pkg s3://plugdata-nightly/
69+ aws s3 cp ./plugdata-macOS-Universal.pkg.txt s3://plugdata-nightly/
7570
7671 - name : Archive Artifacts
7772 uses : actions/upload-artifact@v4
@@ -139,19 +134,14 @@ jobs:
139134 AC_PASSWORD : ${{ secrets.AC_PASSWORD }}
140135 run : ./.github/scripts/package-macOS.sh plugdata-macOS-Legacy.pkg
141136
142- - name : Authorise Google Cloud
137+ - name : Upload to Cloud Storage
143138 if : github.ref == 'refs/heads/develop'
144- uses : " google-github-actions/auth@v2"
145- with :
146- credentials_json : ${{ secrets.GCP_SA_KEY }}
147-
148- - name : Upload to Google Cloud
149- if : github.ref == 'refs/heads/develop'
150- uses : " google-github-actions/upload-cloud-storage@v2"
151- with :
152- path : ./
153- glob : ./plugdata-macOS-Legacy.*
154- destination : " plugdata-nightly"
139+ run : |
140+ aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
141+ aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
142+ aws configure set default.region eu-north-1
143+ aws s3 cp ./plugdata-macOS-Legacy.pkg s3://plugdata-nightly/
144+ aws s3 cp ./plugdata-macOS-Legacy.pkg.txt s3://plugdata-nightly/
155145
156146 - name : Archive Artifacts
157147 uses : actions/upload-artifact@v4
@@ -199,19 +189,15 @@ jobs:
199189 run : |
200190 ./.github/scripts/package-Windows.sh plugdata-Win64.msi
201191
202- - name : Authorise Google Cloud
203- if : github.ref == 'refs/heads/develop'
204- uses : " google-github-actions/auth@v2"
205- with :
206- credentials_json : ${{ secrets.GCP_SA_KEY }}
207-
208- - name : Upload to Google Cloud
192+ - name : Upload to Cloud Storage
209193 if : github.ref == 'refs/heads/develop'
210- uses : " google-github-actions/upload-cloud-storage@v2"
211- with :
212- path : ./
213- glob : ./plugdata-Win64.*
214- destination : " plugdata-nightly"
194+ run : |
195+ choco install awscli
196+ aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
197+ aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
198+ aws configure set default.region eu-north-1
199+ aws s3 cp ./plugdata-Win64.msi s3://plugdata-nightly/
200+ aws s3 cp ./plugdata-Win64.msi.txt s3://plugdata-nightly/
215201
216202 - name : Archive Artifacts
217203 uses : actions/upload-artifact@v4
@@ -261,19 +247,15 @@ jobs:
261247 run : |
262248 ./.github/scripts/package-Windows.sh plugdata-Win32.msi
263249
264- - name : Authorise Google Cloud
265- if : github.ref == 'refs/heads/develop'
266- uses : " google-github-actions/auth@v2"
267- with :
268- credentials_json : ${{ secrets.GCP_SA_KEY }}
269-
270- - name : Upload to Google Cloud
250+ - name : Upload to Cloud Storage
271251 if : github.ref == 'refs/heads/develop'
272- uses : " google-github-actions/upload-cloud-storage@v2"
273- with :
274- path : ./
275- glob : ./plugdata-Win32.*
276- destination : " plugdata-nightly"
252+ run : |
253+ choco install awscli
254+ aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
255+ aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
256+ aws configure set default.region eu-north-1
257+ aws s3 cp ./plugdata-Win32.msi s3://plugdata-nightly/
258+ aws s3 cp ./plugdata-Win32.msi.txt s3://plugdata-nightly/
277259
278260 - name : Archive Artifacts
279261 uses : actions/upload-artifact@v4
@@ -327,19 +309,19 @@ jobs:
327309 steps :
328310 - name : Install Dependencies (dnf)
329311 if : ${{ matrix.pacman == 'dnf' }}
330- run : dnf install -y git cmake alsa-lib-devel libXinerama-devel freetype-devel curl libcurl-devel wget bzip2 gcc-c++ libXi-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel xz ccache python python3-pip jack-audio-connection-kit-devel libatomic
312+ run : dnf install -y git cmake alsa-lib-devel libXinerama-devel freetype-devel curl libcurl-devel wget bzip2 gcc-c++ libXi-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel xz ccache python python3-pip jack-audio-connection-kit-devel libatomic unzip
331313
332314 - name : Install Dependencies (apt)
333315 if : ${{ matrix.pacman == 'apt' }}
334- run : apt update && DEBIAN_FRONTEND=noninteractive TZ="Europe/Amsterdam" apt install -y cmake git wget bzip2 build-essential libasound2-dev libjack-jackd2-dev curl libcurl4-openssl-dev libfreetype6-dev libx11-dev libxi-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxrandr-dev libxinerama-dev ccache python3 python3-pip freeglut3-dev
316+ run : apt update && DEBIAN_FRONTEND=noninteractive TZ="Europe/Amsterdam" apt install -y cmake git wget bzip2 build-essential libasound2-dev libjack-jackd2-dev curl libcurl4-openssl-dev libfreetype6-dev libx11-dev libxi-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxrandr-dev libxinerama-dev ccache python3 python3-pip freeglut3-dev unzip
335317
336318 - name : Install Dependencies (zypper)
337319 if : ${{ matrix.pacman == 'zypper' }}
338- run : zypper refresh && zypper install -y git rsync wget bzip2 xz tar gzip cmake alsa-lib- devel libXinerama-devel libXi-devel freetype-devel libcurl-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel freetype2-devel gcc gcc-c++ curl ccache python python3-pip libjack-devel gawk
320+ run : zypper refresh && zypper install -y git rsync wget bzip2 xz tar gzip cmake alsa-devel libXinerama-devel libXi-devel libcurl-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel freetype2-devel gcc gcc-c++ curl ccache python3 libjack-devel gawk unzip
339321
340322 - name : Install Dependencies (pacman)
341323 if : ${{ matrix.pacman == 'pacman' }}
342- run : pacman -Sy && pacman -S --noconfirm cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl && pacman --noconfirm -Syu
324+ run : pacman -Sy && pacman -S --noconfirm cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl unzip && pacman --noconfirm -Syu
343325
344326 - uses : actions/checkout@v4
345327 with :
@@ -367,19 +349,17 @@ jobs:
367349 working-directory : ${{github.workspace}}
368350 run : ./.github/scripts/package-Linux.sh plugdata-${{ matrix.name }}.tar.gz
369351
370- - name : Authorise Google Cloud
371- if : github.ref == 'refs/heads/develop'
372- uses : " google-github-actions/auth@v2"
373- with :
374- credentials_json : ${{ secrets.GCP_SA_KEY }}
375-
376- - name : Upload to Google Cloud
352+ - name : Upload to Cloud Storage
377353 if : github.ref == 'refs/heads/develop'
378- uses : " google-github-actions/upload-cloud-storage@v2"
379- with :
380- path : ./
381- glob : plugdata-${{ matrix.name }}.tar.*
382- destination : " plugdata-nightly"
354+ run : |
355+ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
356+ unzip awscliv2.zip
357+ ./aws/install
358+ aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
359+ aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
360+ aws configure set default.region eu-north-1
361+ aws s3 cp ./plugdata-${{ matrix.name }}.tar.gz s3://plugdata-nightly/
362+ aws s3 cp ./plugdata-${{ matrix.name }}.tar.gz.txt s3://plugdata-nightly/
383363
384364 - name : Archive Artifacts
385365 uses : actions/upload-artifact@v4
0 commit comments