Skip to content

Commit

Permalink
Added github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hoaftq committed Jan 22, 2023
1 parent 5ac85a6 commit 77d78c0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 32 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lines-98

on: [push]

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
- name: Build
run: ant clean package
- name: Upload the artifact
uses: actions/upload-artifact@v3
with:
name: 'Lines98'
path: build/Lines98.jar
- name: Create a release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files:
build/Lines98.jar
31 changes: 0 additions & 31 deletions Jenkinsfile

This file was deleted.

2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<project name="lines" default="package" basedir=".">
<project name="Lines98" default="package" basedir=".">
<target name="init">
<property name="src.dir" value="src" />
<property name="build.dir" value="build" />
Expand Down

0 comments on commit 77d78c0

Please sign in to comment.