Skip to content

Commit

Permalink
ci: Update various github action versions (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 authored Aug 13, 2024
1 parent bb4650b commit 0f284c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/publish-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
runs:
using: composite
steps:
- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.1
- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.2
name: 'Publish to Github pages'
with:
docs_path: docs
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,25 @@ jobs:
- 6379:6379

steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: release
with:
command: manifest
token: ${{ secrets.GITHUB_TOKEN }}
default-branch: main

- uses: actions/checkout@v4
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.releases_created == 'true' }}
with:
fetch-depth: 0 # If you only need the current version keep this.

- name: Build and Test
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.releases_created == 'true' }}
uses: ./.github/actions/ci
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build documentation
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.releases_created == 'true' }}
uses: ./.github/actions/build-docs

- uses: ./.github/actions/publish-docs
if: ${{ steps.release.outputs.releases_created }}
if: ${{ steps.release.outputs.releases_created == 'true' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0f284c5

Please sign in to comment.