You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/09/01 11:44:57 UTC
[logging-parent] branch main updated: `env` at workflow top level is still broken[1], working around it
This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/main by this push:
new e6adea3 `env` at workflow top level is still broken[1], working around it
e6adea3 is described below
commit e6adea3f0a42f4922907e7ceae31bdf35b158412
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Fri Sep 1 13:45:14 2023 +0200
`env` at workflow top level is still broken[1], working around it
[1] https://github.com/actions/runner/issues/2372
---
.github/workflows/build.yml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 04f4815..7f2d823 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -35,10 +35,6 @@ on:
permissions: read-all
-env:
- JAVA_VERSION: 17
- PROJECT_NAME: logging-parent
-
jobs:
build:
@@ -48,7 +44,7 @@ jobs:
contents: write
pull-requests: write
with:
- java-version: ${{ env.JAVA_VERSION }}
+ java-version: 17
deploy-snapshot:
needs: build
@@ -56,7 +52,7 @@ jobs:
uses: apache/logging-parent/.github/workflows/deploy-snapshot-reusable.yml@main
secrets: inherit
with:
- java-version: ${{ env.JAVA_VERSION }}
+ java-version: 17
deploy-release:
needs: build
@@ -64,5 +60,5 @@ jobs:
uses: apache/logging-parent/.github/workflows/deploy-release-reusable.yml@main
secrets: inherit
with:
- java-version: ${{ env.JAVA_VERSION }}
- project-name: ${{ env.PROJECT_NAME }}
+ java-version: 17
+ project-name: logging-parent