Snapshot Build (#5)

* Test snapshot

* Invert snapshot flag

* Change version format

* Detect if file is properly closed.

* Use ATOMIC_MOVE

* Try using renameTo

* Check if can access before remap

* Check if can access before remap

* Please, delete it

* Can you please work

* Maybe just maybe

* Test

* So it works?
This commit is contained in:
shedaniel
2021-01-23 20:50:52 +08:00
committed by GitHub
parent c1bbb052a5
commit 7f725c16f9
9 changed files with 64 additions and 16 deletions

View File

@@ -1,7 +1,9 @@
name: Java CI
name: Compile & Release
on:
[push]
push:
branches:
- master
jobs:
build:

22
.github/workflows/snapshot.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Snapshot Compile & Release
on:
[pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Upload to Bintray
run: ./gradlew bintrayUpload
env:
BINTRAY_USER: shedaniel
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
PR_NUM: ${{github.event.number}}