Skip to content

Commit

Permalink
Update build script to build Paper and Spigot
Browse files Browse the repository at this point in the history
  • Loading branch information
DerEchtePilz committed Apr 11, 2024
1 parent 4ae5ea8 commit a93af70
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,25 @@ jobs:

### Upload .jar artifacts ###

- name: Upload CommandAPI (Bukkit) plugin artifact
- name: Upload CommandAPI (Spigot) plugin artifact
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v3
with:
name: CommandAPI (Bukkit plugin)
name: CommandAPI (Spigot plugin)
path: |
commandapi-platforms/commandapi-bukkit/commandapi-bukkit-plugin/target/CommandAPI*.jar
!commandapi-platforms/commandapi-bukkit/commandapi-bukkit-plugin/target/*sources.jar
!commandapi-platforms/commandapi-bukkit/commandapi-bukkit-plugin/target/*javadoc.jar
commandapi-platforms/commandapi-spigot/commandapi-spigot-plugin/target/CommandAPI*.jar
!commandapi-platforms/commandapi-spigot/commandapi-spigot-plugin/target/*sources.jar
!commandapi-platforms/commandapi-spigot/commandapi-spigot-plugin/target/*javadoc.jar
- name: Upload CommandAPI (Paper) plugin artifact
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v3
with:
name: CommandAPI (Paper plugin)
path: |
commandapi-platforms/commandapi-paper/commandapi-paper-plugin/target/CommandAPI*.jar
!commandapi-platforms/commandapi-paper/commandapi-paper-plugin/target/*sources.jar
!commandapi-platforms/commandapi-paper/commandapi-paper-plugin/target/*javadoc.jar
- name: Upload CommandAPI (Velocity) plugin artifact
if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from latest java on one OS
Expand Down

0 comments on commit a93af70

Please sign in to comment.