mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 11:12:16 +00:00
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 516126084a
.
* use gh cli for upload smartcont_lib
* use gh cli for upload smartcont_lib
* gh requires gh_token
* clean up
This commit is contained in:
parent
e5feb76b90
commit
c7271d97ae
1 changed files with 11 additions and 0 deletions
11
.github/workflows/create-release.yml
vendored
11
.github/workflows/create-release.yml
vendored
|
@ -4,6 +4,9 @@ on: [workflow_dispatch]
|
|||
|
||||
permissions: write-all
|
||||
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
runs-on: ubuntu-22.04
|
||||
|
@ -498,6 +501,14 @@ jobs:
|
|||
asset_name: ton-linux-x86_64.zip
|
||||
tag: ${{ steps.tag.outputs.TAG }}
|
||||
|
||||
- name: Upload generic smartcont+lib artifact
|
||||
run: |
|
||||
mkdir smartcont_lib
|
||||
cd smartcont_lib
|
||||
cp -r ../artifacts/ton-x86_64-linux/{smartcont,lib} .
|
||||
zip -r smartcont_lib.zip .
|
||||
gh release upload ${{ steps.tag.outputs.TAG }} smartcont_lib.zip
|
||||
|
||||
- name: Upload Linux x86-64 single artifact - fift
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue