This commit is contained in:
@@ -31,22 +31,11 @@ jobs:
|
|||||||
MB_PLUGIN_DIR: ${{ github.workspace }}
|
MB_PLUGIN_DIR: ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: plugin
|
name: plugin
|
||||||
path: fr.mrraph.hoarder-bot-*.mbp
|
path: fr.mrraph.hoarder-bot-*.mbp
|
||||||
|
|
||||||
release:
|
|
||||||
name: Release Plugin
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Download Build Artifact
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
name: plugin
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: gitea/create-release@v1
|
uses: gitea/create-release@v1
|
||||||
env:
|
env:
|
||||||
@@ -68,6 +57,6 @@ jobs:
|
|||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: dist/*.mbp
|
asset_path: fr.mrraph.hoarder-bot-*.mbp
|
||||||
asset_name: plugin-${{ github.ref_name }}.mbp
|
asset_name: r.mrraph.hoarder-bot-${{ github.ref_name }}.mbp
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
Reference in New Issue
Block a user