aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-07 21:08:37 -0800
committerTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-07 21:08:37 -0800
commit79b5ac5ba6fb04047ac054279d7e4c64a13a3f1d (patch)
tree228cff005eda82966c6325cd9543d5f52249dd68
parent75abcfdd8ce99d20ef39a44110c19f2373d8e7c1 (diff)
downloaddn42peering-79b5ac5ba6fb04047ac054279d7e4c64a13a3f1d.tar
dn42peering-79b5ac5ba6fb04047ac054279d7e4c64a13a3f1d.tar.gz
dn42peering-79b5ac5ba6fb04047ac054279d7e4c64a13a3f1d.tar.bz2
dn42peering-79b5ac5ba6fb04047ac054279d7e4c64a13a3f1d.zip
ci: build agent using Gradle
-rw-r--r--.github/workflows/publish.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 56ea332..bb1f103 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -32,11 +32,15 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- - name: makepkg
- uses: py7hon/arch-makepkg@v0.0.2
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Build
+ run: ./gradlew :agent:distTar
- uses: ncipollo/release-action@v1.7.3
with:
allowUpdates: true
tag: "packages"
- artifacts: "./*/agent-*.zst"
+ artifacts: "./agent/build/distributions/agent-*.tar"
token: ${{ secrets.GITHUB_TOKEN }}