You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2023/10/08 01:44:27 UTC
[logging-log4net] 01/01: Try building with github actions
This is an automated email from the ASF dual-hosted git repository.
rmiddleton pushed a commit to branch github-actions
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git
commit 665b9e202e7ea3a60c6d7a3a45806048a32d4f62
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Sat Oct 7 21:44:13 2023 -0400
Try building with github actions
---
.github/workflows/log4net-dotnetcore.yml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/.github/workflows/log4net-dotnetcore.yml b/.github/workflows/log4net-dotnetcore.yml
new file mode 100644
index 00000000..6ba2f0a4
--- /dev/null
+++ b/.github/workflows/log4net-dotnetcore.yml
@@ -0,0 +1,31 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+name: log4net-dotnetcore
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ dotnet: [ '2.1.x', '3.1.x', '5.0.x' ]
+ name: Dotnet ${{ matrix.dotnet }} log4net build
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup dotnet
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: ${{ matrix.dotnet }}
+ - name: Execute dotnet
+ run: dotnet build log4net