Skip to content

Commit

Permalink
Update: Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekoer committed Nov 6, 2024
1 parent c5891c4 commit 9f14561
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@ jobs:
with:
arguments: buildPluginLegacy -Poverflow
#取文件名
- name: Get Plugin Name
run: echo "NAME=$(find /home/runner/work/mirai-plugins-pixiv/mirai-plugins-pixiv/build/mirai \( -name "*mirai.jar" -o -name "*mirai2.jar" \) -exec basename {} \; | sed 's/\.(mirai|mirai2|overflow.mirai|overflow.mirai2)\.jar/-mirai/')" >> $GITHUB_ENV
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
if: success()
with:
name: ${{ env.NAME }}
name: "pixiv"
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 9f14561

Please sign in to comment.