Update main.yml

This commit is contained in:
Nassim Jahnke 2023-03-08 16:29:04 +01:00 committed by GitHub
parent 9e871d4dd5
commit 68e416a197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ jobs:
- name: Compile MappingsGenerator jar - name: Compile MappingsGenerator jar
run: mvn package && mvn package && mv target/MappingsGenerator-*.jar ./MappingsGenerator.jar run: mvn package && mvn package && mv target/MappingsGenerator-*.jar ./MappingsGenerator.jar
- name: Run MappingsGenerator - name: Run MappingsGenerator
run: java -jar MappingsGenerator.jar server.jar ${{ steps.next_release.outputs.content }} ${{ steps.last_release.outputs.content }} run: java -jar MappingsGenerator.jar server.jar ${{ steps.next_release.outputs.content }}
- name: Pack mappings - name: Pack mappings
run: java -cp MappingsGenerator.jar com.viaversion.mappingsgenerator.MappingsOptimizer ${{ steps.last_release.outputs.content }} ${{ steps.next_release.outputs.content }} --generateDiffStubs run: java -cp MappingsGenerator.jar com.viaversion.mappingsgenerator.MappingsOptimizer ${{ steps.last_release.outputs.content }} ${{ steps.next_release.outputs.content }} --generateDiffStubs
- name: Pack backwards mappings - name: Pack backwards mappings
@ -68,4 +68,4 @@ jobs:
uses: ad-m/github-push-action@master uses: ad-m/github-push-action@master
with: with:
github_token: ${{ secrets.TOKEN }} github_token: ${{ secrets.TOKEN }}
branch: ${{ github.ref }} branch: ${{ github.ref }}