9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2026-01-01 05:06:40 +00:00

publish builds

This commit is contained in:
NONPLAYT
2025-12-14 17:01:02 +03:00
parent d91718e64a
commit 4883518ab2
5 changed files with 13 additions and 13 deletions

View File

@@ -1,9 +1,9 @@
name: Build DivineMC 1.21.10
name: Build DivineMC 1.21.11
on:
push:
branches:
- "ver/1.21.10"
- "ver/1.21.11"
workflow_dispatch:
jobs:
@@ -91,7 +91,7 @@ jobs:
try {
await github.rest.git.updateRef({
owner: context.repo.owner,
repo: context. repo.repo,
repo: context.repo.repo,
ref: `tags/${tag}`,
sha: context.sha,
force: true
@@ -99,11 +99,11 @@ jobs:
console.log(`✅ Tag ${tag} updated successfully`);
} catch (error) {
if (error.status === 404) {
await github.rest.git. createRef({
await github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: ref,
sha: context. sha
sha: context.sha
});
console.log(`✅ Tag ${tag} created successfully`);
} else {

View File

@@ -2,7 +2,7 @@ name: Build Pull Request
on:
pull_request:
branches: [ "ver/1.21.10" ]
branches: [ "ver/1.21.11" ]
jobs:
build:

View File

@@ -2,7 +2,7 @@ name: Publish API
on:
push:
branches: [ "ver/1.21.10" ]
branches: [ "ver/1.21.11" ]
workflow_dispatch:
jobs: