Skip to content

Commit

Permalink
Fit version change
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed May 4, 2024
1 parent 6bd0cdf commit b54b63b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/BuildTestInstance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Build Test Instance
run-name: "[${{ github.event.client_payload.build_type || 'Manual' }}#${{ github.event.client_payload.number }}] MMC instance of ${{ inputs.branch || github.event.client_payload.branch }}"
run-name: "[${{ github.event.client_payload.build_type || 'Manual' }}#${{ github.event.client_payload.version }}] MMC instance of ${{ inputs.branch || github.event.client_payload.branch }}"
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -42,10 +42,11 @@ jobs:
cleanroomDownloadBranch: ${{ inputs.branch || github.event.client_payload.branch }}
commit_hash: ${{ github.event.client_payload.commit_hash }}
run_job_url: ${{ github.event.client_payload.run_job_url }}
version: ${{ github.event.client_payload.version }}

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.3
with:
name: Cleanroom_MMC
name: Cleanroom_MMC ${{ github.event.client_payload.version }}
# A file, directory or wildcard pattern that describes what to upload
path: build/output
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
installerURL = 'https://nightly.link/CleanroomMC/Cleanroom/' \
+ (f'workflows/BuildTest/{branch}' if not RUN_JOB_URL
else f'actions/runs/{RUN_JOB_URL.rsplit("/", 1)[-1]}') \
+ '/installer.zip'
+ '/installer' + os.getenv('version') + '.zip'
print('Installer URL: ' + installerURL)
response = requests.get(installerURL)
if not response.ok:
Expand Down

0 comments on commit b54b63b

Please sign in to comment.