Skip to content

Use latest version and fix copy paste issue #2

Use latest version and fix copy paste issue

Use latest version and fix copy paste issue #2

Workflow file for this run

name: Create Release Version & Publish Package
on:
push:
branches: [dbo-test]
jobs:
dbo_upload_test:
runs-on: ubuntu-latest
steps:
- name: Download release artifact
id: release-artifact
uses: dsaltares/fetch-gh-release-asset@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
# version: tags/${{ github.event.inputs.version }}
file: multiverse-core-*\\.jar
target: 'subdir/'
- name: Upload to dev.bukkit.org
uses: benwoo1110/dbo-upload-action@main
with:
api_token: ${{ secrets.DBO_UPLOAD_API_TOKEN }}
project_id: 30765
changelog: ${{ toJson(steps.release-artifact.outputs.body) }}
change_type: markdown
display_name: ${{ github.event.inputs.version }}
game_versions: 9994 9974 9973 9561 9560 9261 9190 9016 8897 8849 8503 7915 7667 7330 7105
relations: '[{"slug": "multiverse-portals", "type": "optionalDependency"}]'
file: ${{ github.workspace }}/subdir/multiverse-core-${{ github.event.inputs.version }}.jar
debug: true