-
-
Notifications
You must be signed in to change notification settings - Fork 174
559 lines (500 loc) · 23.7 KB
/
deployments.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Please write our copyright if you use this file.
# © 2023 Floorp Projects & Contributors
#TODO deployments not changed about cache and refactoring
name: "(C) ⚠ Deployments"
permissions:
contents: write
discussions: write
on:
workflow_dispatch:
inputs:
buildjet:
description: 'Buildjet'
type: boolean
required: true
default: true
lightning-build:
description: 'Lightning Build'
type: boolean
required: true
default: false
release-note-url:
description: 'Release Note URL'
type: string
required: true
default: 'https://blog.ablaze.one/category/ablaze/ablaze-project/floorp/'
release-note-url-ja:
type: string
required: false
default: 'https://blog.ablaze.one/category/ablaze/ablaze-project/floorp/'
#----------------------------------------- JOBS -----------------------------------------#
jobs:
get-display-version:
runs-on: ubuntu-latest
outputs:
display-version: ${{ steps.get.outputs.display-version }}
steps:
- uses: actions/checkout@v3
with:
sparse-checkout: 'browser/config/version_display.txt'
- name: Get Display Version
id: get
run: |
echo "display-version=$(cat browser/config/version_display.txt)" >> $GITHUB_OUTPUT
get-inside-version:
runs-on: ubuntu-latest
outputs:
inside-version: ${{ steps.get.outputs.inside-version }}
steps:
- uses: actions/checkout@v3
with:
sparse-checkout: 'browser/config/version.txt'
- name: Get Inside Version
id: get
run: |
echo "inside-version=$(cat browser/config/version.txt)" >> $GITHUB_OUTPUT
get-buildid:
runs-on: ubuntu-latest
outputs:
buildids: ${{ steps.get.outputs.bid }}
steps:
- id: get
shell: bash -xe {0}
run: |
bdat=`date +"%Y%m%d%I%M%S"`
echo "bid=${bdat}" >> $GITHUB_OUTPUT
#----------------------------------------- WIN -----------------------------------------#
#? Original branding of the code is official
#? It seems in PGO build, branding is not important in NOT deploying binary
Part1-win-x86_64-build-with-profgen-zstd:
uses: ./.github/workflows/windows-build.yml
with:
profgen: true
aarch64: false
zstd: true
buildjet: ${{ inputs.buildjet }}
Part2-win-x86_64-gen-profdata-and-jarlog:
needs: Part1-win-x86_64-build-with-profgen-zstd
uses: ./.github/workflows/window-generate-profile-data-and-jarlog.yml
with:
browser-artifact-name: floorp-windows-x86_64-build-with-profgen-zstd
arch: x86_64
Part3-win-x86_64-build-with-profdata-and-jarlog:
needs: [Part2-win-x86_64-gen-profdata-and-jarlog, get-buildid]
uses: ./.github/workflows/windows-build.yml
with:
aarch64: false
beta: false
lightning-build: ${{ inputs.lightning-build }}
buildjet: ${{ inputs.buildjet }}
profdata_jarlog_artifact_name: "floorp-windows-x86_64-profdata-and-jarlog"
out_artifact_name: please-use-this-floorp-windows-x86_64-package-build-with-profdata-and-jarlog
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
release-note-url: ${{ inputs.release-note-url }}
release-note-url-ja: ${{ inputs.release-note-url-ja }}
################################################################ ↑ Windows x86_64 Build ###################################################################################
Part1-win-x86-build-with-profdata-and-jarlog:
if: inputs.lightning-build == 'false'
needs: [get-buildid]
uses: ./.github/workflows/windows-build.yml
with:
aarch64: false
build32bit: true
beta: false
lightning-build: ${{ inputs.lightning-build }}
buildjet: ${{ inputs.buildjet }}
out_artifact_name: please-use-this-floorp-windows-x86-package-build-with-profdata-and-jarlog
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
release-note-url: ${{ inputs.release-note-url }}
release-note-url-ja: ${{ inputs.release-note-url-ja }}
################################################################ ↑ Windows x86 Build ####################################################################################
Part1-linux-x86_64-build-with-PGO:
uses: ./.github/workflows/linux-build.yml
needs: [get-buildid]
with:
aarch64: false
beta: false
mar: true
buildjet: ${{ inputs.buildjet }}
lightning-build: ${{ inputs.lightning-build }}
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
release-note-url: ${{ inputs.release-note-url }}
release-note-url-ja: ${{ inputs.release-note-url-ja }}
################################################################ ↑ Linux x86_64 Build ####################################################################################
Part1-linux-aarch64-build:
uses: ./.github/workflows/linux-build.yml
needs: [get-buildid]
with:
aarch64: true
beta: false
mar: true
buildjet: ${{ inputs.buildjet }}
lightning-build: ${{ inputs.lightning-build }}
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
release-note-url: ${{ inputs.release-note-url }}
release-note-url-ja: ${{ inputs.release-note-url-ja }}
################################################ ↑ Linux AArch64 Build ################################################
#----------------------------------------- macOS -----------------------------------------#
Part1-macOS-Universal-build-with-profgen:
uses: ./.github/workflows/macOS-Universal.yml
with:
profgen: true
buildjet: ${{ inputs.buildjet }}
secrets:
MACOS_CROSS_TOOLS_KEY: ${{ secrets.MACOS_CROSS_TOOLS_KEY }}
Part2-macOS-Universal-gen-profdata-and-jarlog:
needs: Part1-macOS-Universal-build-with-profgen
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
# GitHub doesn't support M1 macs yet, so we need to use a self-hosted runner.
runs-on: [macos-latest, self-hosted]
# macos-latest is x86_64, self-hosted is arm64
steps:
- name: Init
run: |
export RUNNER_USERDIR=`echo ~`
echo "RUNNER_USERDIR=$RUNNER_USERDIR" >> $GITHUB_ENV
mkdir -p ~/downloads/artifacts
- name: Clean up (Self-hosted only)
if: ${{ matrix.runs-on == 'self-hosted' }}
run: |
rm -rf ~/downloads/artifacts
rm -rf ./floorp
- uses: actions/checkout@v3
name: Clone 🧬
with:
submodules: 'recursive'
- name: Check Arch type
shell: bash
run: |
if [[ $GHA_BUILD_MACHINE != 'macos-latest' ]]; then
export ARCH_TYPE=`echo "aarch64"`
echo "ARCH_TYPE=$ARCH_TYPE" >> $GITHUB_ENV
else
export ARCH_TYPE=`echo "x86_64"`
echo "ARCH_TYPE=$ARCH_TYPE" >> $GITHUB_ENV
fi
env:
GHA_BUILD_MACHINE: ${{ matrix.runs-on }}
- uses: actions/download-artifact@v3
id: download-artifacts-mac-enable-profgen
name: Download artifact 📥
with:
name: floorp-mac-${{ env.ARCH_TYPE }}-build-with-profgen
path: ~/downloads/artifacts
- name: setup environment 🌲
run: |
echo -e "ac_add_options --enable-bootstrap" >> mozconfig
echo 'mozconfig: **********************'
cat ./mozconfig
echo '*********************************'
brew install gnu-tar
export PATH=/usr/local/opt/gnu-tar/libexec/gnubin:$PATH
./mach --no-interactive bootstrap --application-choice browser
- name: Extract artifact 📂
run: |
mkdir -p ./floorp
cp ${{ steps.download-artifacts-mac-enable-profgen.outputs.download-path }}/${ARCH_TYPE}-apple-darwin-output.tar.xz ./
tar xf ${ARCH_TYPE}-apple-darwin-output.tar.xz
- name: Generate Profdata 📊
run: |
LLVM_PROFDATA=$RUNNER_USERDIR/.mozbuild/clang/bin/llvm-profdata JARLOG_FILE=en-US.log ./mach python build/pgo/profileserver.py --binary ./obj-${ARCH_TYPE}-apple-darwin/dist/floorp/Floorp.app/Contents/MacOS/floorp
env:
GHA_BUILD_MACHINE: ${{ matrix.runs-on }}
- name: Publish 🎁
uses: actions/upload-artifact@v3
with:
name: floorp-${{ env.ARCH_TYPE }}-apple-darwin-profdata-and-jarlog
path: |
merged.profdata
en-US.log
Part3-macOS-Universal-build-with-profdata-and-jarlog:
uses: ./.github/workflows/macOS-Universal.yml
needs: [get-buildid, Part2-macOS-Universal-gen-profdata-and-jarlog]
with:
buildjet: ${{ inputs.buildjet }}
build-with-profdata-and-jarlog: true
beta: false
lightning-build: ${{ inputs.lightning-build }}
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
release-note-url: ${{ inputs.release-note-url }}
release-note-url-ja: ${{ inputs.release-note-url-ja }}
secrets:
MACOS_CROSS_TOOLS_KEY: ${{ secrets.MACOS_CROSS_TOOLS_KEY }}
Part4-macOS-Universal-package-and-sign:
uses: ./.github/workflows/macOS-integration.yml
needs: [get-buildid, get-display-version, get-inside-version, Part3-macOS-Universal-build-with-profdata-and-jarlog]
with:
beta: false
mar: true
x86_64_artifact_name: floorp-mac-x86_64-package
aarch64_artifact_name: floorp-mac-aarch64-package
display_version: ${{needs.get-display-version.outputs.display-version}}
inside_version: ${{needs.get-inside-version.outputs.inside-version}}
MOZ_BUILD_DATE: ${{needs.get-buildid.outputs.buildids}}
secrets:
macOS_CERTIFICATES_P12_For_App_BASE64: ${{ secrets.macOS_CERTIFICATES_P12_For_App_BASE64 }}
macOS_CERTIFICATES_P12_PASSWORD: ${{ secrets.macOS_CERTIFICATES_P12_PASSWORD }}
macOS_AppleDeveloperId: ${{ secrets.macOS_AppleDeveloperId }}
macOS_AppleAccountId: ${{ secrets.macOS_AppleAccountId }}
macOS_AppleTeamId: ${{ secrets.macOS_AppleTeamId }}
macOS_AppleAccountAppSpecificPassword: ${{ secrets.macOS_AppleAccountAppSpecificPassword }}
####################################################################### macOS Universal #######################################################################
Deploy-to-installer:
needs: [Part1-linux-x86_64-build-with-PGO, Part1-linux-aarch64-build, Part4-macOS-Universal-package-and-sign, Part3-win-x86_64-build-with-profdata-and-jarlog, get-display-version]
runs-on: ubuntu-latest
environment:
name: Deploy-to-installer-release
steps:
- uses: actions/checkout@v3
- name: Release version 📦
run: |
echo "Release version: ${{ needs.get-display-version.outputs.display-version }}"
- name: make directory 📁
run: |
mkdir -p ~/downloads/artifacts
mkdir -p ~/downloads/artifacts/linux-x64
mkdir -p ~/downloads/artifacts/linux-aarch64
mkdir -p ~/downloads/artifacts/windows-x64
mkdir -p ~/downloads/artifacts/windows-x86
mkdir -p ~/downloads/artifacts/macOS-x64
- name: download Linux x86_64 build artifact 📥
uses: actions/download-artifact@v3
with:
name: floorp-linux-x64
path: ~/downloads/artifacts/linux-x64
- name: download Linux aarch64 build artifact 📥
uses: actions/download-artifact@v3
with:
name: floorp-linux-aarch64
path: ~/downloads/artifacts/linux-aarch64
- name: download Windows x86_64 build artifact📥
uses: actions/download-artifact@v3
with:
name: please-use-this-floorp-windows-x86_64-package-build-with-profdata-and-jarlog
path: ~/downloads/artifacts/windows-x64
- name: download Windows x86 build artifact📥
if: ${{ !inputs.lightning-build }}
uses: actions/download-artifact@v3
with:
name: please-use-this-floorp-windows-x86-package-build-with-profdata-and-jarlog
path: ~/downloads/artifacts/windows-x86
- name: download macOS Universal build artifact📥
uses: actions/download-artifact@v3
with:
name: Universal-Artifact
path: ~/downloads/artifacts/macOS-x64
- name: check file structure 🗃
run: |
cd ~/downloads/artifacts
echo "current directory: $PWD"
echo "****************************************************************************************************"
find . -print | sed -e "s;[^/]*/;|____;g;s;____|; |;g"
echo "****************************************************************************************************"
- name: Deploy to GitHub Releases for Stable Version 🚀
if: inputs.lightning-build == 'false'
id: create_release
uses: "softprops/action-gh-release@v1"
with:
files: |
"/home/runner/downloads/artifacts/linux-x64/LINUX-x86_64.mar"
"/home/runner/downloads/artifacts/linux-aarch64/LINUX-aarch64.mar"
"/home/runner/downloads/artifacts/macOS-x64/DARWIN-Universal.mar"
"/home/runner/downloads/artifacts/linux-x64/floorp-*.linux-x86_64.tar.bz2"
"/home/runner/downloads/artifacts/linux-aarch64/floorp-*.linux-aarch64.tar.bz2"
"/home/runner/downloads/artifacts/windows-x64/floorp-win64.installer.exe"
"/home/runner/downloads/artifacts/windows-x86/floorp-win32.installer.exe"
"/home/runner/downloads/artifacts/macOS-x64/floorp-macOS-universal.dmg"
tag_name: "v${{ needs.get-display-version.outputs.display-version }}"
name: "v${{ needs.get-display-version.outputs.display-version }}"
draft: true
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_REPOSITORY: ${{ github.repository }}
- name: Deploy to GitHub Releases for Lightning Version 🚀
if: inputs.lightning-build
id: create_release_lightning
uses: "softprops/action-gh-release@v1"
with:
files: |
/home/runner/downloads/artifacts/linux-x64/LINUX-x86_64.mar
/home/runner/downloads/artifacts/linux-aarch64/LINUX-aarch64.mar
/home/runner/downloads/artifacts/macOS-x64/DARWIN-Universal.mar
/home/runner/downloads/artifacts/linux-x64/floorp-*.linux-x86_64.tar.bz2
/home/runner/downloads/artifacts/linux-aarch64/floorp-*.linux-aarch64.tar.bz2
/home/runner/downloads/artifacts/windows-x64/floorp-win64.installer.exe
/home/runner/downloads/artifacts/macOS-x64/floorp*-macOS-universal.dmg
tag_name: "v${{ needs.get-display-version.outputs.display-version }}-lightning"
name: "v${{ needs.get-display-version.outputs.display-version }}-lightning"
draft: true
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_REPOSITORY: ${{ github.repository }}
Deploy-to-updater:
needs: [get-display-version, Deploy-to-installer, get-buildid, get-inside-version]
runs-on: ubuntu-latest
environment:
name: Deploy-to-updater-release
steps:
- name: get build version & check MAR url replacement 📝
run: |
if [[ ${{ inputs.lightning-build }} == 'true' ]]; then
export BUILD_VERSION=`echo "lightning"`
echo "BUILD_VERSION=$BUILD_VERSION" >> $GITHUB_ENV
export MAR_URL=`echo "-lightning"`
echo "MAR_URL=$MAR_URL" >> $GITHUB_ENV
else
export BUILD_VERSION=`echo "normal"`
echo "BUILD_VERSION=$BUILD_VERSION" >> $GITHUB_ENV
export MAR_URL=`echo ""`
echo "MAR_URL=$MAR_URL" >> $GITHUB_ENV
fi
env:
GHA_LIGHTNING_BUILD: ${{ inputs.lightning-build }}
- name: Run GitHub Actions for Release x86_64 Linux MAR "Floorp-Projects/Floorp-Update" 🚀
run: |
echo "Preparing to run GitHub Actions for Release x86_64 Windows MAR, waiting for 30 seconds"
sleep 60
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Floorp-Projects/Floorp-Updates/actions/workflows/deliver-updates-to-floorp-browser.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"mar-url": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}/LINUX-x86_64.mar",
"os": "Linux",
"arch": "x86_64",
"buildVersion": "${{ env.BUILD_VERSION }}"
}
}'
- name: Run GitHub Actions for Release aarch64 Linux MAR "Floorp-Projects/Floorp-Update" 🚀
run: |
echo "Preparing to run GitHub Actions for Release x86_64 Windows MAR, waiting for 30 seconds"
sleep 60
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Floorp-Projects/Floorp-Updates/actions/workflows/deliver-updates-to-floorp-browser.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"mar-url": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}${{ env.MAR_URL }}/LINUX-aarch64.mar",
"os": "Linux",
"arch": "aarch64",
"release-note-url": "${{ inputs.release-note-url }}",
"buildVersion": "${{ env.BUILD_VERSION }}"
}
}'
- name: Run GitHub Actions for Release x86_64 Darwin MAR "Floorp-Projects/Floorp-Update" 🚀
run: |
echo "Preparing to run GitHub Actions for Release x86_64 Windows MAR, waiting for 30 seconds"
sleep 60
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Floorp-Projects/Floorp-Updates/actions/workflows/deliver-updates-to-floorp-browser.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"mar-url": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}${{ env.MAR_URL }}/DARWIN-Universal.mar",
"os": "Darwin",
"arch": "x86_64",
"display-version": "${{ needs.get-display-version.outputs.display-version }}",
"firefox-version": "${{ needs.get-inside-version.outputs.inside-version }}",
"release-note-url": "${{ inputs.release-note-url }}",
"buildVersion": "${{ env.BUILD_VERSION }}"
}
}'
- name: Run GitHub Actions for Release aarch64 Darwin MAR "Floorp-Projects/Floorp-Update" 🚀
run: |
echo "Preparing to run GitHub Actions for Release x86_64 Windows MAR, waiting for 30 seconds"
sleep 60
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Floorp-Projects/Floorp-Updates/actions/workflows/deliver-updates-to-floorp-browser.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"mar-url": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}${{ env.MAR_URL }}/DARWIN-Universal.mar",
"os": "Darwin",
"arch": "aarch64",
"buildid": "${{ needs.get-buildid.outputs.buildids }}",
"display-version": "${{ needs.get-display-version.outputs.display-version }}",
"firefox-version": "${{ needs.get-inside-version.outputs.inside-version }}",
"release-note-url": "${{ inputs.release-note-url }}",
"buildVersion": "${{ env.BUILD_VERSION }}"
}
}'
- name: Run GitHub Actions for Release x86_64 Windows MAR "Floorp-Projects/Floorp-Update" 🚀
run: |
echo "Preparing to run GitHub Actions for Release x86_64 Windows MAR, waiting for 30 seconds"
sleep 60
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Floorp-Projects/Floorp-Updates/actions/workflows/deliver-updates-to-floorp-browser.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"mar-url": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}${{ env.MAR_URL }}/WINNT-x86_64.mar",
"os": "WINNT",
"arch": "x86_64",
"release-note-url": "${{ inputs.release-note-url }}",
"buildVersion": "${{ env.BUILD_VERSION }}"
}
}'
- name: Run GitHub Actions for Release x86 Windows MAR "Floorp-Projects/Floorp-Update" 🚀
if: inputs.lightning-build == 'false'
run: |
echo "Preparing to run GitHub Actions for Release x86 Windows MAR, waiting for 30 seconds"
sleep 60
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/Floorp-Projects/Floorp-Updates/actions/workflows/deliver-updates-to-floorp-browser.yml/dispatches" \
-d '{
"ref": "main",
"inputs": {
"mar-url": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}${{ env.MAR_URL }}/WINNT-x86.mar",
"os": "WINNT",
"arch": "x86",
"release-note-url": "${{ inputs.release-note-url }}",
"buildVersion": "${{ env.BUILD_VERSION }}"
}
}'
- name: Run GitHub Actions for Release x86_64 Debian PPA Build 🚀
if: inputs.lightning-build == 'false'
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/actions/workflows/linux-x64-deb.yml/dispatches" \
-d '{
"ref": "ESR115",
"inputs": {
"ppa": "true",
"tarball-url-x86-64": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}/floorp-${{ needs.get-display-version.outputs.display-version }}.linux-x86_64.tar.bz2"
}
}'
- name: Run GitHub Actions for Release x86_64 Debian PPA Build 🚀
if: inputs.lightning-build == 'false'
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
"https://api.github.com/repos/${{ github.repository }}/actions/workflows/linux-x64-deb.yml/dispatches" \
-d '{
"ref": "ESR115",
"inputs": {
"ppa": "false",
"tarball-url-x86-64": "https://github.com/${{ github.repository }}/releases/download/v${{ needs.get-display-version.outputs.display-version }}/floorp-${{ needs.get-display-version.outputs.display-version }}.linux-x86_64.tar.bz2"
}
}'