Fix output artifacts missing
This commit is contained in:
parent
4cb5d22766
commit
db1308fd07
11
.github/workflows/rust.yml
vendored
11
.github/workflows/rust.yml
vendored
@ -2,9 +2,7 @@ name: Build, Test, and Linting
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["master"]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["master"]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -160,9 +158,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
case "${{ runner.os }}" in
|
case "${{ runner.os }}" in
|
||||||
Linux) cp rust/target/release/*.so dist/ ;;
|
Linux) cp rust/target/release/*.so "dist/libpatchbukkit-${{ runner.arch }}-${{ runner.os }}.so" ;;
|
||||||
macOS) cp rust/target/release/*.dylib dist/ ;;
|
macOS) cp rust/target/release/*.dylib "dist/libpatchbukkit-${{ runner.arch }}-${{ runner.os }}.dylib" ;;
|
||||||
Windows) cp rust/target/release/*.dll dist/ ;;
|
Windows) cp rust/target/release/*.dll "dist/patchbukkit-${{ runner.arch }}-${{ runner.os }}.dll" ;;
|
||||||
esac
|
esac
|
||||||
- name: Export artifacts
|
- name: Export artifacts
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
@ -198,6 +196,9 @@ jobs:
|
|||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git tag --force nightly && git push --force origin tag nightly
|
git tag --force nightly && git push --force origin tag nightly
|
||||||
|
|
||||||
|
- name: Remove JAR
|
||||||
|
run: rm -f dist/*.jar
|
||||||
|
|
||||||
- name: Draft a nightly github release
|
- name: Draft a nightly github release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user