mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-07 05:58:07 +01:00
Merge branch 'main' into wip/pre-reinstall
This commit is contained in:
11
.github/workflows/dotnet.yml
vendored
11
.github/workflows/dotnet.yml
vendored
@@ -127,11 +127,16 @@ jobs:
|
|||||||
RELEASE_NAME: ${{ github.ref_name == 'main' && 'Latest build' || 'Staging build' }}
|
RELEASE_NAME: ${{ github.ref_name == 'main' && 'Latest build' || 'Staging build' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# v8, not v7: the packages are uploaded with archive: false, and only v8
|
||||||
|
# can pull those non-zipped artifacts back down. skip-decompress keeps the
|
||||||
|
# Windows .zip a file - unpacked, its contents would end up in the release
|
||||||
|
# instead of the package.
|
||||||
- name: Collect the packages
|
- name: Collect the packages
|
||||||
uses: actions/download-artifact@v7
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
skip-decompress: true
|
||||||
|
|
||||||
# Recreated rather than edited, so the tag follows its branch and no asset
|
# Recreated rather than edited, so the tag follows its branch and no asset
|
||||||
# from an older build is left behind.
|
# from an older build is left behind.
|
||||||
@@ -144,7 +149,9 @@ jobs:
|
|||||||
ls -l dist
|
ls -l dist
|
||||||
|
|
||||||
gh release delete "$RELEASE_TAG" --repo "$GITHUB_REPOSITORY" --yes --cleanup-tag || true
|
gh release delete "$RELEASE_TAG" --repo "$GITHUB_REPOSITORY" --yes --cleanup-tag || true
|
||||||
gh release create "$RELEASE_TAG" dist/* \
|
gh release create "$RELEASE_TAG" \
|
||||||
|
dist/StarterNG-windows-x64.zip \
|
||||||
|
dist/StarterNG-linux-x64.tar.gz \
|
||||||
--repo "$GITHUB_REPOSITORY" \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
--target "$GITHUB_SHA" \
|
--target "$GITHUB_SHA" \
|
||||||
--prerelease \
|
--prerelease \
|
||||||
|
|||||||
Reference in New Issue
Block a user