mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 18:32:14 +00:00
fix: GitHub pre-release in action
This commit is contained in:
1 parent
d1ab2fbf43
commit
226d953012
1 file changed
+2
-2
@@ -87,7 +87,7 @@ jobs:
|
||||
id: cslenv
|
||||
run: |
|
||||
output="$(ls build/libs | grep -v "sources")"
|
||||
version=(echo ${{ github.ref_name }}$ | sed "s/v//")
|
||||
version=$(echo ${{ github.ref_name }} | sed "s/v//")
|
||||
if [[ "${{ matrix.modtype }}" == "Forge"* ]]; then
|
||||
modloader="Forge"
|
||||
path=$(echo ${{ matrix.modtype }} | sed "s#-#/#")
|
||||
@@ -136,7 +136,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
if: ${{ (matrix.website == 'GitHub-PreRelease' && startsWith(github.ref, 'refs/heads')) || failure() }}
|
||||
if: ${{ matrix.website == 'GitHub-PreRelease' && startsWith(github.ref, 'refs/heads') }}
|
||||
name: 【GitHub Pre-Release】 Publish
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user