mirror of https://github.com/R2Northstar/Northstar
Skip thunderstore upload on release candidates
This commit is contained in:
parent
833dbf8ad3
commit
ac5614e56b
|
@ -113,6 +113,7 @@ jobs:
|
||||||
|
|
||||||
build-thunderstore-package:
|
build-thunderstore-package:
|
||||||
needs: build-northstar # comment out when running locally
|
needs: build-northstar # comment out when running locally
|
||||||
|
if: "!contains(github.ref, 'rc')" # Skip uploading release candidates to Thunderstore
|
||||||
env:
|
env:
|
||||||
# Release envs, comment this out when running locally
|
# Release envs, comment this out when running locally
|
||||||
TCLI_AUTH_TOKEN: ${{ secrets.THUNDERSTORE_TOKEN }}
|
TCLI_AUTH_TOKEN: ${{ secrets.THUNDERSTORE_TOKEN }}
|
||||||
|
@ -120,7 +121,7 @@ jobs:
|
||||||
TS_COMMUNITY: northstar
|
TS_COMMUNITY: northstar
|
||||||
|
|
||||||
# Uncomment when testing locally, must be unique
|
# Uncomment when testing locally, must be unique
|
||||||
# NORTHSTAR_VERSION: 0.1.7
|
# NORTHSTAR_VERSION: 0.1.8
|
||||||
|
|
||||||
# Thunderstore info and descriptions
|
# Thunderstore info and descriptions
|
||||||
TS_NAMESPACE: northstar
|
TS_NAMESPACE: northstar
|
||||||
|
@ -140,9 +141,9 @@ jobs:
|
||||||
wget -O northstar.zip https://github.com/R2Northstar/Northstar/releases/download/v1.6.3/Northstar.release.v1.6.3.zip
|
wget -O northstar.zip https://github.com/R2Northstar/Northstar/releases/download/v1.6.3/Northstar.release.v1.6.3.zip
|
||||||
unzip northstar.zip -d northstar
|
unzip northstar.zip -d northstar
|
||||||
|
|
||||||
- name: Download built Northstar package
|
- name: Download Northstar package
|
||||||
|
if: ${{ !env.ACT }} # Download artifacts from previous jobs when running on GitHub's infrastructure
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
if: ${{ !env.ACT }} # Skip this job when running locally
|
|
||||||
with:
|
with:
|
||||||
name: Northstar.release.${{ env.NORTHSTAR_VERSION }}
|
name: Northstar.release.${{ env.NORTHSTAR_VERSION }}
|
||||||
path: northstar
|
path: northstar
|
||||||
|
|
Loading…
Reference in New Issue