Skip to content

Commit

Permalink
fix download url
Browse files Browse the repository at this point in the history
  • Loading branch information
b2un0 committed Jan 3, 2025
1 parent f7d441b commit 599594a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
echo build_number="${BUILD_NUMBER}" >> $GITHUB_OUTPUT
echo build_type="${BUILD_TYPE}" >> $GITHUB_OUTPUT
echo build_url=https://api.papermc.io/v2/projects/paper/versions/${{ env.BASE_VERSION }}/builds/${BUILD_NUMBER} >> $GITHUB_OUTPUT
echo download_url="https://papermc.io/api/v2/projects/paper/versions/${{ env.BASE_VERSION }}/builds/${BUILD_NUMBER}/downloads/paper-${{ env.BASE_VERSION }}-${BUILD_NUMBER}.jar" >> $GITHUB_OUTPUT
echo download_url="https://api.papermc.io/v2/projects/paper/versions/${{ env.BASE_VERSION }}/builds/${BUILD_NUMBER}/downloads/paper-${{ env.BASE_VERSION }}-${BUILD_NUMBER}.jar" >> $GITHUB_OUTPUT
- name: show version infos
run: |
Expand Down
4 changes: 2 additions & 2 deletions .run/papermc.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="papermc" type="docker-deploy" factoryName="dockerfile" server-name="Docker">
<configuration default="false" name="papermc" type="docker-deploy" factoryName="dockerfile" server-name="localhost">
<deployment type="dockerfile">
<settings>
<option name="imageTag" value="docker.io/marctv/papermc:dev" />
Expand All @@ -8,7 +8,7 @@
<list>
<DockerEnvVarImpl>
<option name="name" value="DOWNLOAD_URL" />
<option name="value" value="https://papermc.io/api/v2/projects/paper/versions/1.21/builds/109/downloads/paper-1.21-109.jar" />
<option name="value" value="https://api.papermc.io/v2/projects/paper/versions/1.21.4/builds/72/downloads/paper-1.21.4-72.jar" />
</DockerEnvVarImpl>
</list>
</option>
Expand Down

0 comments on commit 599594a

Please sign in to comment.