mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-22 13:13:24 +01:00
CI: skip info on upstream branch for deploy message in nightly since it is already the last beta before stable
This commit is contained in:
17
.github/workflows/sidestore-deploy.yml
vendored
17
.github/workflows/sidestore-deploy.yml
vendored
@@ -145,6 +145,20 @@ jobs:
|
|||||||
|
|
||||||
echo "files=$FILES" >> $GITHUB_OUTPUT
|
echo "files=$FILES" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Set Upstream Recommendation
|
||||||
|
id: upstream_recommendation
|
||||||
|
run: |
|
||||||
|
UPSTREAM_NAME=$(echo "${{ inputs.upstream_name }}" | tr '[:upper:]' '[:lower:]')
|
||||||
|
if [[ "$UPSTREAM_NAME" != "nightly" ]]; then
|
||||||
|
echo "content<<EOF" >> $GITHUB_OUTPUT
|
||||||
|
echo "If you want to try out new features early but want a lower chance of bugs, you can look at [SideStore ${{ inputs.upstream_name }}](https://github.com/${{ github.repository }}/releases?q=${{ inputs.upstream_tag }})." >> $GITHUB_OUTPUT
|
||||||
|
echo "" >> $GITHUB_OUTPUT
|
||||||
|
echo "EOF" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "content=" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Upload to releases
|
- name: Upload to releases
|
||||||
uses: IsaacShelton/update-existing-release@v1.3.1
|
uses: IsaacShelton/update-existing-release@v1.3.1
|
||||||
with:
|
with:
|
||||||
@@ -158,8 +172,7 @@ jobs:
|
|||||||
|
|
||||||
${{ inputs.release_name }} builds are **extremely experimental builds only meant to be used by developers and beta testers. They often contain bugs and experimental features. Use at your own risk!**
|
${{ inputs.release_name }} builds are **extremely experimental builds only meant to be used by developers and beta testers. They often contain bugs and experimental features. Use at your own risk!**
|
||||||
|
|
||||||
If you want to try out new features early but want a lower chance of bugs, you can look at [SideStore ${{ inputs.upstream_name }}](https://github.com/${{ github.repository }}/releases?q=${{ inputs.upstream_tag }}).
|
${{ steps.upstream_recommendation.outputs.content }}
|
||||||
|
|
||||||
## Build Info
|
## Build Info
|
||||||
|
|
||||||
Built at (UTC): `${{ steps.date.outputs.date }}`
|
Built at (UTC): `${{ steps.date.outputs.date }}`
|
||||||
|
|||||||
Reference in New Issue
Block a user