@@ -119,6 +119,41 @@ jobs:
119
119
asset_path : dist/heta-compiler-deb.deb
120
120
asset_name : heta-compiler-x64.deb
121
121
asset_content_type : application/octet-stream
122
+ upload-linux-arm64-release-asset :
123
+ runs-on : ubuntu-22.04-arm
124
+ steps :
125
+ - uses : actions/checkout@v4
126
+ - uses : actions/setup-node@v4
127
+ with :
128
+ node-version : 18.x
129
+ - run : npm ci
130
+ - name : Build standalone apps
131
+ run : |
132
+ npx pkg . -t linux-arm64 --compress GZip
133
+ cd ./dist
134
+ chmod 775 heta-compiler
135
+ tar -czvf ./heta-compiler-linux-arm64.tar.gz ./heta-compiler
136
+ cd ..
137
+ - name : Upload Release Asset Linux
138
+ uses : actions/upload-release-asset@v1
139
+ env :
140
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
141
+ with :
142
+ upload_url : ${{ github.event.release.upload_url }}
143
+ asset_path : dist/heta-compiler
144
+ asset_name : heta-compiler-linux-arm64
145
+ asset_content_type : application/octet-stream
146
+
147
+ - name : Upload Release TAR.GZ Linux
148
+ uses : actions/upload-release-asset@v1
149
+ env :
150
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
151
+ with :
152
+ upload_url : ${{ github.event.release.upload_url }}
153
+ asset_path : dist/heta-compiler-linux-arm64.tar.gz
154
+ asset_name : heta-compiler-linux-arm64.tar.gz
155
+ asset_content_type : application/octet-stream
156
+
122
157
upload-windows-release-asset :
123
158
runs-on : windows-latest
124
159
steps :
0 commit comments