Skip to content

Commit

Permalink
chore: checkout before release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jul 6, 2021
1 parent 9c6db30 commit d320844
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install system dependencies
run: |
sudo apt-get install --yes zlib1g-dev libbz2-dev musl musl-dev musl-tools clang libc6-dev
- uses: Swatinem/[email protected]

- uses: GoogleCloudPlatform/release-please-action@v2
id: release_sys
with:
Expand All @@ -25,24 +41,6 @@ jobs:
bump-minor-pre-major: Yes
monorepo-tags: true

- uses: actions/checkout@v2
if: ${{ steps.release_main.outputs.release_created || steps.release_sys.outputs.release_created }}

- name: Install stable toolchain
if: ${{ steps.release_main.outputs.release_created || steps.release_sys.outputs.release_created }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install system dependencies
if: ${{ steps.release_main.outputs.release_created || steps.release_sys.outputs.release_created }}
run: |
sudo apt-get install --yes zlib1g-dev libbz2-dev musl musl-dev musl-tools clang libc6-dev
- uses: Swatinem/[email protected]
if: ${{ steps.release_main.outputs.release_created || steps.release_sys.outputs.release_created }}

- uses: katyo/publish-crates@v1
if: ${{ steps.release_main.outputs.release_created || steps.release_sys.outputs.release_created }}
with:
Expand Down

0 comments on commit d320844

Please sign in to comment.