Skip to content

Commit

Permalink
ci(github-action): fix minecraft-version-update
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Oct 3, 2023
1 parent ecdf51e commit 87e6be2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/minecraft-version-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: tyriis/[email protected]
id: bedrock

- name: print the bedrock veesion
- name: PrintBedrock Version
run: echo "Current Minecraft Bedrock version is ${{ steps.bedrock.outputs.version }}"

- name: Version Update
Expand All @@ -40,7 +40,6 @@ jobs:
echo "version<<EOF" >> "${GITHUB_OUTPUT}"
echo "${version}" >> "${GITHUB_OUTPUT}"
echo "EOF" >> "${GITHUB_OUTPUT}"
echo "${version}"
# https://github.com/marketplace/actions/install-gh-cli
- name: install github cli
Expand All @@ -61,8 +60,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILE_TO_COMMIT: kubernetes/apps/gaming/minecraft-bedrock/app/helm-release.yaml
DESTINATION_BRANCH: minecraft/bedrock-${{ steps.update.outputs.version }}
MESSAGE: "chore(deps): update minecraft-bedrock to ${{ steps.update.outputs.version }}"
DESTINATION_BRANCH: minecraft/bedrock-${{ steps.bedrock.outputs.version }}
MESSAGE: "chore(deps): update minecraft-bedrock to ${{ steps.bedrock.outputs.version }}"
run: |
gh api --method POST \
-H "Accept: application/vnd.github.v3+json" \
Expand All @@ -86,7 +85,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: kubernetes/apps/gaming/minecraft-bedrock/app/helm-release.yaml
commit-message: "chore(deps): update minecraft bedrock to ${{ steps.update.outputs.version }}"
branch: minecraft/bedrock-${{ steps.update.outputs.version }}
commit-message: "chore(deps): update minecraft bedrock to ${{ steps.bedrock.outputs.version }}"
branch: minecraft/bedrock-${{ steps.bedrock.outputs.version }}
base: main
title: "chore(deps): update minecraft bedrock to ${{ steps.update.outputs.version }}"
title: "chore(deps): update minecraft bedrock to ${{ steps.bedrock.outputs.version }}"

0 comments on commit 87e6be2

Please sign in to comment.