Skip to content

Commit c7271d9

Browse files
authored
Add smartcont+lib folders to release (#1508)
* add folders smartcont and lib only to release for having a small download link * allow usage of patter in file name * upgrade upload-release-action@v2 to v3 * Revert "upgrade upload-release-action@v2 to v3" This reverts commit 5161260. * use gh cli for upload smartcont_lib * use gh cli for upload smartcont_lib * gh requires gh_token * clean up
1 parent e5feb76 commit c7271d9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/create-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on: [workflow_dispatch]
44

55
permissions: write-all
66

7+
env:
8+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
710
jobs:
811
create-release:
912
runs-on: ubuntu-22.04
@@ -498,6 +501,14 @@ jobs:
498501
asset_name: ton-linux-x86_64.zip
499502
tag: ${{ steps.tag.outputs.TAG }}
500503

504+
- name: Upload generic smartcont+lib artifact
505+
run: |
506+
mkdir smartcont_lib
507+
cd smartcont_lib
508+
cp -r ../artifacts/ton-x86_64-linux/{smartcont,lib} .
509+
zip -r smartcont_lib.zip .
510+
gh release upload ${{ steps.tag.outputs.TAG }} smartcont_lib.zip
511+
501512
- name: Upload Linux x86-64 single artifact - fift
502513
uses: svenstaro/upload-release-action@v2
503514
with:

0 commit comments

Comments
 (0)