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

Commit

Permalink
yeet workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
htmlcsjs committed Apr 10, 2023
1 parent 413f0e7 commit 72fed40
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
@@ -1,42 +0,0 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
push:
branches:
- dev
jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Clone Repository
shell: bash
run: |
/usr/bin/git clone https://github.com/htmlcsjs/htmlTech.git ./
- name: Declare some variables
id: vars
shell: bash
run: |
echo "::set-output name=sha_short::$(git rev-parse --short $GITHUB_SHA)"
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Automatic Releases
uses: marvinpinto/action-automatic-releases@v1.1.1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: ${{ steps.vars.outputs.sha_short }}
files: |
build/libs/*.jar

0 comments on commit 72fed40

Please sign in to comment.