This repository was archived by the owner on Sep 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,30 @@ jobs:
55
55
${{ github.workspace }}/armv6-unknown-linux-gnueabihf/bin/armv6-unknown-linux-gnueabihf-strip ./nostr-wallet-connect
56
56
patchelf --force-rpath --set-rpath '$ORIGIN/lib' ./nostr-wallet-connect
57
57
58
+ # TODO: remove this; it produces a ZIP archive that loses all permissions (for now, the update.sh script uses this artifact).
58
59
- name : Archive the artifacts
59
60
uses : actions/upload-artifact@v4
60
61
with :
61
62
name : nostr-wallet-connect.zip
62
63
path : |
63
64
lib/
64
65
nostr-wallet-connect
66
+
67
+ - name : Add Linux perms
68
+ run : chmod +x ./nostr-wallet-connect
69
+
70
+ # Store everything in a tar archive to preserve permissions
71
+ # (specifically, the executable bit on the app executable).
72
+ - name : Make output tar archive
73
+ run : |
74
+ mkdir -p ./tmp
75
+ mv ./nostr-wallet-connect ./tmp/
76
+ mv ./lib ./tmp/
77
+ tar -cjf nostr-wallet-connect.tar.bz2 -C ./tmp .
78
+ rm -Rf ./tmp
79
+
80
+ - name : Upload the package
81
+ uses : actions/upload-artifact@v4
82
+ with :
83
+ name : nostr-wallet-connect.tar.bz2
84
+ path : nostr-wallet-connect.tar.bz2
Original file line number Diff line number Diff line change 14
14
- name : Download Raspberry Pi archive
15
15
uses : actions/download-artifact@v4
16
16
with :
17
- name : nostr-wallet-connect.zip
17
+ name : nostr-wallet-connect.tar.bz2
18
18
path : artifacts
19
19
20
20
- name : Download Linux desktop archive
You can’t perform that action at this time.
0 commit comments