mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-02-07 07:03:09 +00:00
fix: don't release unless there's a tag (#1394)
This commit is contained in:
parent
7c3894da54
commit
9ab8e1d671
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -139,7 +139,7 @@ jobs:
|
||||
ZIPFILE=libstorage-linux-${{ matrix.cpu }}-${{ env.VERSION }}.zip
|
||||
zip -j $ZIPFILE ./build/libstorage.so ./library/libstorage.h
|
||||
echo "ZIPFILE=$ZIPFILE" >> $GITHUB_ENV
|
||||
|
||||
|
||||
- name: Package artifacts MacOS
|
||||
if: matrix.os == 'macos'
|
||||
run: |
|
||||
@ -264,7 +264,7 @@ jobs:
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: env.TAGGED_RELEASE
|
||||
if: env.TAGGED_RELEASE == 'true'
|
||||
with:
|
||||
files: |
|
||||
/tmp/release/*
|
||||
@ -272,7 +272,7 @@ jobs:
|
||||
|
||||
- name: Generate Python SDK
|
||||
uses: peter-evans/repository-dispatch@v3
|
||||
if: env.TAGGED_RELEASE
|
||||
if: env.TAGGED_RELEASE == 'true'
|
||||
with:
|
||||
token: ${{ secrets.DISPATCH_PAT }}
|
||||
repository: logos-storage/logos-storage-py-api-client
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user