Skip to content

Commit

Permalink
chore: use release-please CLI instead of gh-action
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Oct 18, 2023
1 parent dfbb26c commit 6820ffb
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,9 @@ jobs:

# This step will only handle the creation of the release draft, the "Build binaries with electron-builder" step
# will attach binaries to that release draft
- name: Run release-please github-release
- name: Run release-please github-release # see https://github.com/google-github-actions/release-please-action/issues/841
if: contains(github.ref, 'refs/tags/') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: google-github-actions/release-please-action@v3.7.3
with:
command: github-release
release-type: node
changelog-notes-type: github
draft: true
run: npm run release-gh

- name: Build binaries with electron-builder
uses: paneron/action-electron-builder@14b133702d1b2e9749912051c43ed62b4afe56c8 # v1.8.1
Expand Down Expand Up @@ -260,11 +255,16 @@ jobs:
needs: [test, build]
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
steps:
- uses: google-github-actions/release-please-action@v3.7.3
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
command: release-pr
changelog-notes-type: github
release-type: node
plugins: |
@ipfs-shipyard/release-please-ipfs-plugin
draft-pull-request: true
node-version: '18.17.1'

- name: Install dependencies
run: npm ci --prefer-offline --no-audit --progress=false --cache ${{ github.workspace }}/.cache/npm

- name: Run release-please release-pr # see https://github.com/google-github-actions/release-please-action/issues/841
run: npm run release-pr

0 comments on commit 6820ffb

Please sign in to comment.