mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-05 06:21:32 +00:00
rework for 1.21, and it works!
This commit is contained in:
36
.github/workflows-disabled/release.yml
vendored
Normal file
36
.github/workflows-disabled/release.yml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
upload:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: build
|
||||
env:
|
||||
CONCRETE_BUILD_NUMBER: "${{ github.run_number }}"
|
||||
- name: Organize Artifacts
|
||||
run: ./tools/organize-artifacts.sh
|
||||
- name: Upload to Backblaze
|
||||
run: ./tools/gh-upload-backblaze.sh
|
||||
env:
|
||||
ARTIFACTS_KEY_ID: "${{ secrets.ARTIFACTS_KEY_ID }}"
|
||||
ARTIFACTS_APP_KEY: "${{ secrets.ARTIFACTS_APP_KEY }}"
|
||||
ARTIFACTS_BUCKET: "${{ secrets.ARTIFACTS_BUCKET }}"
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: foundation-build
|
||||
path: |
|
||||
artifacts/*
|
Reference in New Issue
Block a user