Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 72fed40

Browse files
committed
yeet workflow
1 parent 413f0e7 commit 72fed40

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

.github/workflows/commit.yml

-42
Original file line numberDiff line numberDiff line change
@@ -1,42 +0,0 @@
1-
# This workflow will build a Java project with Gradle
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3-
4-
name: Java CI with Gradle
5-
6-
on:
7-
push:
8-
branches:
9-
- dev
10-
jobs:
11-
build:
12-
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- name: Clone Repository
17-
shell: bash
18-
run: |
19-
/usr/bin/git clone https://github.com/htmlcsjs/htmlTech.git ./
20-
- name: Declare some variables
21-
id: vars
22-
shell: bash
23-
run: |
24-
echo "::set-output name=sha_short::$(git rev-parse --short $GITHUB_SHA)"
25-
- name: Set up JDK 8
26-
uses: actions/setup-java@v2
27-
with:
28-
java-version: '8'
29-
distribution: 'adopt'
30-
- name: Grant execute permission for gradlew
31-
run: chmod +x gradlew
32-
- name: Build with Gradle
33-
run: ./gradlew build
34-
- name: Automatic Releases
35-
uses: marvinpinto/[email protected]
36-
with:
37-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
38-
automatic_release_tag: "latest"
39-
prerelease: true
40-
title: ${{ steps.vars.outputs.sha_short }}
41-
files: |
42-
build/libs/*.jar

0 commit comments

Comments
 (0)