Update release.yml
This commit is contained in:
parent
56b07c2a9b
commit
36ce99d0b7
1 changed files with 16 additions and 19 deletions
35
.github/workflows/release.yml
vendored
35
.github/workflows/release.yml
vendored
|
|
@ -38,23 +38,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Display structure of downloaded files
|
- name: Create release
|
||||||
run: ls -R ./
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
# - name: Create release
|
prerelease: false
|
||||||
# uses: softprops/action-gh-release@v1
|
generate_release_notes: true
|
||||||
# with:
|
name: ${{ inputs.project_version }}
|
||||||
# prerelease: false
|
body: ${{ inputs.changelog }}
|
||||||
# generate_release_notes: true
|
files: |
|
||||||
# name: ${{ inputs.project_version }}
|
${{ inputs.project_name }}-${{ inputs.project_version }}-cf.zip
|
||||||
# body: ${{ inputs.changelog }}
|
${{ inputs.project_name }}-${{ inputs.project_version }}-mmc.zip
|
||||||
# files: |
|
${{ inputs.project_name }}-${{ inputs.project_version }}-server.zip
|
||||||
# ${{ inputs.project_name }}-${{ inputs.project_version }}-cf.zip
|
tag_name: ${{ inputs.tag }}
|
||||||
# ${{ inputs.project_name }}-${{ inputs.project_version }}-mmc.zip
|
env:
|
||||||
# ${{ inputs.project_name }}-${{ inputs.project_version }}-server.zip
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# tag_name: ${{ inputs.tag }}
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
release-curseforge:
|
release-curseforge:
|
||||||
name: Deploy to CurseForge
|
name: Deploy to CurseForge
|
||||||
|
|
@ -83,8 +80,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
api-token: ${{ secrets.CF_API_TOKEN }}
|
api-token: ${{ secrets.CF_API_TOKEN }}
|
||||||
project-id: ${{ env.CF_PROJECT_ID }}
|
project-id: ${{ env.CF_PROJECT_ID }}
|
||||||
modpack-path: ${{ inputs.project_name }}-${{ inputs.project_version }}-cf.zip
|
modpack-path: "./${{ inputs.project_name }}-${{ inputs.project_version }}-cf.zip"
|
||||||
modpack-server-path: ${{ inputs.project_name }}-${{ inputs.project_version }}-server.zip
|
modpack-server-path: "./${{ inputs.project_name }}-${{ inputs.project_version }}-server.zip"
|
||||||
changelog: "${{ inputs.changelog }}"
|
changelog: "${{ inputs.changelog }}"
|
||||||
changelog-format: markdown
|
changelog-format: markdown
|
||||||
game-version: ${{ inputs.mcversion }}
|
game-version: ${{ inputs.mcversion }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue