mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-09 14:01:15 +02:00
chore: compile dist using workflow (#75)
This commit is contained in:
17
.github/workflows/release-please.yaml
vendored
17
.github/workflows/release-please.yaml
vendored
@@ -4,8 +4,24 @@ on:
|
||||
- main
|
||||
name: release-please
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install
|
||||
run: npm install
|
||||
- name: build
|
||||
run: npm run build
|
||||
- name: commit
|
||||
run: |-
|
||||
git config --global user.name "actions-bot"
|
||||
git add dist/
|
||||
git diff-index --quiet HEAD || git commit -m "chore: build dist"
|
||||
git pull --rebase
|
||||
git push origin main
|
||||
release-please-pr:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/release-please-action@v2.4.0
|
||||
with:
|
||||
@@ -16,6 +32,7 @@ jobs:
|
||||
command: release-pr
|
||||
release-please-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
steps:
|
||||
- uses: GoogleCloudPlatform/release-please-action@v2.4.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user