File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Manually Upload to Launchpad PPA
2+
3+ on : workflow_dispatch
4+
5+ jobs :
6+ setup :
7+ name : Setup
8+ uses : ./.github/workflows/reuse_setup.yml
9+ secrets : inherit
10+
11+ flathub :
12+ name : Upload
13+ uses : ./.github/workflows/reuse_launchpad.yml
14+ secrets : inherit
15+ needs : setup
Original file line number Diff line number Diff line change @@ -11,14 +11,20 @@ jobs:
1111 with :
1212 path : ./
1313
14- - name : Import keys
14+ - name : Get Artefacts
1515 run : |
16+ cd ./repo
17+ newVersion=$(git tag --sort=version:refname | tail -n1 | tr -d 'v' | tr -d '\n')
18+ wget https://github.com/Figma-Linux/figma-linux/releases/download/v${newVersion}/figma-linux_${newVersion}_linux_amd64.zip
19+ mkdir -p build/installers/linux-unpacked
20+ unzip figma-linux_${newVersion}_linux_amd64.zip -d ./build/installers/linux-unpacked/
21+ cd ..
1622 mv ./repo/* ./
17- mv ./amd64/* ./
1823 rm -rf ./repo
19- rm -rf ./amd64
2024 chmod +x ./**/*.sh
2125 chmod +x ./**/*.pl
26+
27+ - name : Import keys
2228 mkdir ./gpg
2329 echo "${{ secrets.GPG_PUB_KEY }}" | base64 -d > ./gpg/pub.key
2430 echo "${{ secrets.GPG_SECRET_KEY }}" | base64 -d > ./gpg/secret.key
You can’t perform that action at this time.
0 commit comments