Skip to content

Commit dd8e6fa

Browse files
authored
fix: changes order of actions so that we can actually get the info. (#46)
1 parent 0123224 commit dd8e6fa

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/release-please.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,19 @@ on:
2323
push:
2424
branches:
2525
- main
26-
2726
jobs:
2827
release-please:
2928
runs-on: ubuntu-latest
3029
steps:
31-
- id: release
32-
name: Release Please
33-
uses: actions/checkout@v3
34-
- uses: google-github-actions/release-please-action@v3
35-
with:
36-
release-type: node
37-
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
38-
package-name: "@googlemaps-samples/js-api-samples"
39-
40-
- if: ${{ steps.release.outputs.release_created }}
41-
name: Checkout
42-
uses: actions/checkout@v3
4330

4431
# Debugging steps to return the contents of root and current branch name.
45-
- if: ${{ steps.release.outputs.release_created }}
46-
uses: actions/checkout@v3
32+
- uses: actions/checkout@v3
4733
- run: ls -l
4834
- run: echo "Current Branch - ${{ github.ref }}"
4935

36+
- uses: actions/checkout@v3
37+
- uses: google-github-actions/release-please-action@v3
38+
with:
39+
release-type: node
40+
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
41+
package-name: "@googlemaps-samples/js-api-samples"

0 commit comments

Comments
 (0)