From 00deb250020d686087a5fcb06d23964a34d2e7fa Mon Sep 17 00:00:00 2001
From: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Date: Fri, 8 Nov 2024 18:08:49 -0700
Subject: [PATCH] Update actions
---
.github/workflows/announce-release-on-discord.yml | 2 +-
.github/workflows/build-pr.yml | 2 +-
.github/workflows/build.yml | 4 ++--
.github/workflows/upload-release-assets.yml | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/announce-release-on-discord.yml b/.github/workflows/announce-release-on-discord.yml
index 77fa897323..da75feb7a2 100644
--- a/.github/workflows/announce-release-on-discord.yml
+++ b/.github/workflows/announce-release-on-discord.yml
@@ -24,5 +24,5 @@ jobs:
""
"The download is available at:"
"- Spigot: "
- "- Modrinth: "
+ "- Modrinth: "
diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml
index 7b578480f8..8766c697b2 100644
--- a/.github/workflows/build-pr.yml
+++ b/.github/workflows/build-pr.yml
@@ -24,4 +24,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: FastAsyncWorldEdit-SNAPSHOT
- path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar
+ path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-*.jar
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 79aa448d8d..a24529c9e2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -70,9 +70,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: FastAsyncWorldEdit-Bukkit-SNAPSHOT
- path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar
+ path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-*.jar
- name: Publish to Modrinth
if: ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
- run: ./gradlew modrinth
+ run: ./gradlew publishMods
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
diff --git a/.github/workflows/upload-release-assets.yml b/.github/workflows/upload-release-assets.yml
index c6e0ea2cf0..ea012486c8 100644
--- a/.github/workflows/upload-release-assets.yml
+++ b/.github/workflows/upload-release-assets.yml
@@ -21,6 +21,6 @@ jobs:
- name: Upload Release Assets
uses: AButler/upload-release-assets@v3.0
with:
- files: 'worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar'
+ files: 'worldedit-bukkit/build/libs/FastAsyncWorldEdit-*.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.event.release.tag_name }}