-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 886 Bytes
/
Copy pathrelease.yml
File metadata and controls
39 lines (36 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Mod Release
on:
push:
tags:
- 'v**'
jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
mod-release: true
upload-artifacts: true
publish-maven: true
publish-mod: true
upload:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v5
with:
name: 'build'
path: 'output'
- run: ls -R output
- name: Publish pre-release
uses: softprops/action-gh-release@v2
with:
draft: false
prerelease: false
generate_release_notes: true
make_latest: true
preserve_order: true
tag_name: ${{ github.ref_name }}
name: "Release ${{ github.ref_name }}"
files: |
output/**/*@(-neoforge|-fabric)*@(.[0-9]).jar