Skip to content

Commit e71ca3c

Browse files
committed
Update workflows so the nightly stops interfering with tagged release
1 parent d20c6c4 commit e71ca3c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/workflows/ci-tests-nightly.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Gradle Tests and Nightly (CI)
22

3-
on: push
3+
on:
4+
push:
5+
tags-ignore:
6+
- v*
7+
paths-ignore:
8+
- 'README.md'
9+
- LICENSE
410

511
jobs:
612
vars:

.github/workflows/tagged-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Latest Tag
33

44
on:
55
push:
6-
tags: v*
6+
tags:
7+
- v*
8+
paths-ignore:
9+
- 'README.md'
10+
- LICENSE
711
workflow_dispatch:
812

913
jobs:

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ task apiJar(type: Jar) {
285285
// Sources included because of MinecraftForge/ForgeGradle#369
286286
from sourceSets.api.output
287287
destinationDirectory = file("$rootDir/build-out")
288+
classifier("api")
288289
}
289290

290291
artifacts {

0 commit comments

Comments
 (0)