Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
feat: relase pls
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenLoc committed Jul 24, 2024
1 parent b3b53c2 commit 8331d89
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

env:
_JAVA_OPTS: "-Xmx2g"
GRADLE_OPTS: "-Dorg.gradle.workers.max=2 -Dorg.gradle.console=plain"

jobs:
# Prepare a release PR or release
release:
needs: verify
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
released: ${{ steps.release.outputs.release_created }}
steps:
- id: release
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GLOBAL_GITHUB_TOKEN }}
release-type: simple

0 comments on commit 8331d89

Please sign in to comment.