diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request-or-main.yml similarity index 90% rename from .github/workflows/pull_request.yml rename to .github/workflows/pull_request-or-main.yml index afe227b..d1e0aa9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request-or-main.yml @@ -1,9 +1,12 @@ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven -name: Pull-Request +name: Pull-Request-or-Main on: + push: + branches: + - main pull_request: branches: - main @@ -32,7 +35,7 @@ jobs: - name: Assign build.version.properties to env variable if: matrix.target-platform == env.DEFAULT_TARGET_PLATFORM run: cat site/target/build.version.properties >> $GITHUB_ENV - - name: 'Deploy build ${{ env.build_version_full }} for PR${{ github.event.pull_request.number }}' + - name: 'Upload update site artifact for build ${{ env.build_version_full }}' if: matrix.target-platform == env.DEFAULT_TARGET_PLATFORM uses: actions/upload-artifact@v2 with: diff --git a/README.md b/README.md index bec24dc..5d44f64 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-[![Version](https://img.shields.io/github/release/anb0s/EasyShell.svg)](https://github.com/anb0s/EasyShell/releases) [![Issues](https://img.shields.io/github/issues/anb0s/EasyShell.svg)](https://github.com/anb0s/EasyShell/issues) [![Chat @ gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/anb0s/Lobby) [![build](https://github.com/anb0s/EasyShell/actions/workflows/maven.yml/badge.svg)](https://github.com/anb0s/EasyShell/actions/workflows/maven.yml) [![License](https://img.shields.io/badge/License-EPL%202.0-blue.svg)](https://www.eclipse.org/legal/epl-2.0) +[![Version](https://img.shields.io/github/release/anb0s/EasyShell.svg)](https://github.com/anb0s/EasyShell/releases) [![Issues](https://img.shields.io/github/issues/anb0s/EasyShell.svg)](https://github.com/anb0s/EasyShell/issues) [![Chat @ gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/anb0s/Lobby) [![build](https://github.com/anb0s/EasyShell/actions/workflows/pull_request-or-main.yml/badge.svg)](https://github.com/anb0s/EasyShell/actions/workflows/pull_request-or-main.yml) [![License](https://img.shields.io/badge/License-EPL%202.0-blue.svg)](https://www.eclipse.org/legal/epl-2.0) This Eclipse plugin allows to open a shell window or file manager from the popup menu in the navigation tree or editor view. Additionally it is possible to run selected file in the shell, copy file or directory path or run user defined external tools. Key shortcuts and multiple selections are also supported!