workflows
This commit is contained in:
parent
4e51ee0cc1
commit
061cc973f5
2 changed files with 6 additions and 11 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -256,7 +256,7 @@ jobs:
|
|||
- name: Upload zip cf
|
||||
uses: actions/upload-artifact@v4.0.0
|
||||
with:
|
||||
name: modpack_cf
|
||||
name: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-cf
|
||||
path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-cf.zip
|
||||
retention-days: 5
|
||||
|
||||
|
|
@ -296,7 +296,7 @@ jobs:
|
|||
- name: Upload zip mmc
|
||||
uses: actions/upload-artifact@v4.0.0
|
||||
with:
|
||||
name: modpack_mmc
|
||||
name: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-mmc
|
||||
path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-mmc.zip
|
||||
retention-days: 5
|
||||
|
||||
|
|
@ -333,14 +333,14 @@ jobs:
|
|||
- name: Upload zip
|
||||
uses: actions/upload-artifact@v4.0.0
|
||||
with:
|
||||
name: server_pack
|
||||
name: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-server
|
||||
path: ${{ needs.modpack-info.outputs.project_name }}-${{ needs.modpack-info.outputs.project_version }}-server.zip
|
||||
retention-days: 5
|
||||
|
||||
release:
|
||||
name: Release
|
||||
needs: [modpack-info, build-cf-modpack, build-mmc-modpack, build-serverpack]
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
#if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: ./.github/workflows/release.yml
|
||||
with:
|
||||
project_name: ${{ needs.modpack-info.outputs.project_name }}
|
||||
|
|
|
|||
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
|
@ -36,11 +36,6 @@ jobs:
|
|||
pattern: ${{ inputs.project_name }}-${{ inputs.project_version }}-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Download changelog
|
||||
uses: actions/download-artifact@v4.1.0
|
||||
with:
|
||||
name: changelog
|
||||
|
||||
# - name: Create release
|
||||
# uses: softprops/action-gh-release@v1
|
||||
# with:
|
||||
|
|
@ -70,12 +65,12 @@ jobs:
|
|||
- name: Download modpack
|
||||
uses: actions/download-artifact@v4.1.0
|
||||
with:
|
||||
name: modpack_cf
|
||||
name: ${{ inputs.project_name }}-${{ inputs.project_version }}-cf
|
||||
|
||||
- name: Download serverpack
|
||||
uses: actions/download-artifact@v4.1.0
|
||||
with:
|
||||
name: server_pack
|
||||
name: ${{ inputs.project_name }}-${{ inputs.project_version }}-server
|
||||
|
||||
# - name: Upload Curseforge
|
||||
# id: cf_release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue