mirror of
https://github.com/architectury/architectury-plugin.git
synced 2026-03-28 04:07:01 -05:00
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:
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@@ -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
22
.github/workflows/snapshot.yml
vendored
Normal 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}}
|
||||
Reference in New Issue
Block a user