From 2e1d32ec1611cc33f706b3ceee4422418408f04f Mon Sep 17 00:00:00 2001 From: Maxim Schuwalow Date: Sun, 14 Jan 2024 16:11:33 +0100 Subject: [PATCH] update site workflow --- .github/workflows/site.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index c39f620..a9e071b 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -18,11 +18,11 @@ jobs: if: ${{ github.event_name == 'pull_request' }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v3.3.0 with: fetch-depth: '0' - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.9.0 with: distribution: temurin java-version: 17 @@ -41,11 +41,11 @@ jobs: if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v3.3.0 with: fetch-depth: '0' - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.9.0 with: distribution: temurin java-version: 17 @@ -65,12 +65,12 @@ jobs: if: ${{ (github.event_name == 'push') || ((github.event_name == 'release') && (github.event.action == 'published')) }} steps: - name: Git Checkout - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v3.3.0 with: ref: ${{ github.head_ref }} fetch-depth: '0' - name: Setup Scala - uses: actions/setup-java@v3.12.0 + uses: actions/setup-java@v3.9.0 with: distribution: temurin java-version: 17 @@ -84,7 +84,7 @@ jobs: git add README.md git commit -m "Update README.md" || echo "No changes to commit" - name: Create Pull Request - uses: peter-evans/create-pull-request@v5.0.2 + uses: peter-evans/create-pull-request@v4.2.3 with: body: |- Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin.