Skip to content

Commit

Permalink
Publish release on dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
alvindimas05 committed Jul 15, 2024
1 parent 1bd940b commit 124c92f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Publish Jar
on:
workflow_dispatch:
inputs:
tag:
description: Release git tag
type: string
required: true
push:
jobs:
build:
Expand All @@ -24,4 +30,15 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: artifacts-jar
path: ./build/libs/*
path: ./build/libs/*
- name: Publish release
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: ncipollo/release-action@v1
with:
artifacts: ./build/libs/*
tag: ${{ inputs.tag }}
name: LagAssist ${{ inputs.tag }}
allowUpdates: true
artifactErrorsFailBuild: false
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void onJoin(PlayerJoinEvent e) {
p.sendPluginMessage(Main.p, "BungeeCord", new byte[1]);
} else {
// TODO: FINSIH non-lousy advertising
sendAdvertising(null, 1);
// sendAdvertising(null, 1);
}

}
Expand Down

0 comments on commit 124c92f

Please sign in to comment.