Skip to content

Commit

Permalink
Add smartcont+lib folders to release (#1508)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
neodix42 authored Feb 3, 2025
1 parent e5feb76 commit c7271d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on: [workflow_dispatch]

permissions: write-all

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
create-release:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c7271d9

Please sign in to comment.