Skip to content

Commit

Permalink
Merge pull request #77 from YuLinLoli/master
Browse files Browse the repository at this point in the history
feat(github action)
  • Loading branch information
Nekoer authored May 26, 2024
2 parents 7082947 + f5c948e commit 3754679
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ jobs:
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: buildPluginLegacy
#取文件名
- name: Get Plugin Name
run: echo "NAME=$(find /home/runner/work/mirai-plugins-pixiv/mirai-plugins-pixiv/build/mirai -name "*mirai.jar" -exec basename {} \; | sed 's/\.mirai.jar/-mirai/')" >> $GITHUB_ENV
- name: Upload a Build Artifact
uses: actions/[email protected]
if: success()
with:
name: ${{ env.NAME }}
path: /home/runner/work/mirai-plugins-pixiv/mirai-plugins-pixiv/build/mirai/*.jar
retention-days: 0
if-no-files-found: error

0 comments on commit 3754679

Please sign in to comment.