Compare commits

...

2 commits

Author SHA1 Message Date
1c7a8bbb96
Chore: Upload API Spec to Release as well
All checks were successful
Build Application / build (push) Successful in 1m6s
Quality Check / Validate OAS (push) Successful in 39s
Build Application / build-docker (push) Successful in 24s
Build Application / release (push) Successful in 9s
Quality Check / Testing (push) Successful in 48s
Quality Check / Linting (push) Successful in 1m1s
Quality Check / Static Analysis (push) Successful in 1m1s
2025-02-02 09:55:42 +01:00
a3429390fc
Chore: Fixed Runconfig, Releasing API Spec as well
Some checks failed
Quality Check / Validate OAS (push) Successful in 38s
Build Application / build (push) Successful in 1m5s
Build Application / release (push) Has been cancelled
Build Application / build-docker (push) Has been cancelled
Quality Check / Testing (push) Successful in 47s
Quality Check / Linting (push) Successful in 1m2s
Quality Check / Static Analysis (push) Successful in 57s
2025-02-02 09:52:48 +01:00
2 changed files with 11 additions and 2 deletions

View file

@ -31,6 +31,11 @@ jobs:
with: with:
name: tower_defence_server.jar name: tower_defence_server.jar
path: build/libs/Tower-Defence-Server-${{ github.ref_name }}.jar path: build/libs/Tower-Defence-Server-${{ github.ref_name }}.jar
- name: Upload API Spec as Artifact
uses: "https://git.euph.dev/actions/upload-artifact@v3"
with:
name: api.yml
path: api/api.yml
- name: "Stop Gradle" - name: "Stop Gradle"
run: gradle --stop run: gradle --stop
@ -75,6 +80,11 @@ jobs:
with: with:
name: tower_defence_server.jar name: tower_defence_server.jar
path: release path: release
- name: Download API Spec
uses: "https://git.euph.dev/actions/download-artifact@v3"
with:
name: api.yml
path: release
- name: Create Release - name: Create Release
uses: "https://git.euph.dev/actions/release@v2" uses: "https://git.euph.dev/actions/release@v2"
with: with:
@ -85,7 +95,6 @@ jobs:
release-dir: release release-dir: release
release-notes: | release-notes: |
# Tower Defence - Server ${{ github.ref_name }} # Tower Defence - Server ${{ github.ref_name }}
Read the [Documentation](https://git.euph.dev/TowerDefence/Dokumentation/wiki/Server/Config) to see how to setup the server. Read the [Documentation](https://git.euph.dev/TowerDefence/Dokumentation/wiki/Server/Config) to see how to setup the server.

View file

@ -4,7 +4,7 @@
<option name="SPRING_BOOT_MAIN_CLASS" value="de.towerdefence.server.ServerApplication" /> <option name="SPRING_BOOT_MAIN_CLASS" value="de.towerdefence.server.ServerApplication" />
<method v="2"> <method v="2">
<option name="Make" enabled="true" /> <option name="Make" enabled="true" />
<option name="RunConfigurationTask" enabled="false" run_configuration_name="Postgres" run_configuration_type="docker-deploy" /> <option name="RunConfigurationTask" enabled="true" run_configuration_name="Docker" run_configuration_type="docker-deploy" />
</method> </method>
</configuration> </configuration>
</component> </component>