Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.1 to 3.1.3 #503
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-latest, windows-latest, ubuntu-20.04 ] | |
include: | |
- os: ubuntu-20.04 | |
shell_assembly_id: linux-amd64 | |
shell_assembly_format: tar.gz | |
- os: windows-latest | |
shell_assembly_id: windows-amd64 | |
shell_assembly_format: zip | |
gu_executable_ext: .cmd | |
- os: macos-latest | |
shell_assembly_id: macos-amd64 | |
shell_assembly_format: tar.gz | |
steps: | |
- uses: ilammy/msvc-dev-cmd@v1 | |
if: ${{ matrix.os == 'windows-latest'}} | |
- run: ldd --version | |
if: ${{ matrix.os == 'ubuntu-20.04'}} | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.sonar/cache | |
key: ${{ runner.os }}-sonar | |
restore-keys: ${{ runner.os }}-sonar | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- uses: Project-Env/[email protected] | |
- uses: repolevedavaj/[email protected] | |
with: | |
nsis-version: 3.08 | |
if: ${{ matrix.os == 'windows-latest'}} | |
- run: mvn -B -s etc/m2/settings-ci.xml verify -Pnative-image -Psonar "-Dshell.assembly.id=${{ matrix.shell_assembly_id }}" "-Dshell.assembly.format=${{ matrix.shell_assembly_format }}" | |
if: ${{ matrix.os == 'ubuntu-20.04' && github.actor != 'dependabot[bot]' }} | |
env: | |
GITHUB_USER: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- run: mvn -B -s etc/m2/settings-ci.xml verify -Pnative-image "-Dshell.assembly.id=${{ matrix.shell_assembly_id }}" "-Dshell.assembly.format=${{ matrix.shell_assembly_format }}" | |
if: ${{ matrix.os != 'ubuntu-20.04' || github.actor == 'dependabot[bot]' }} | |
env: | |
GITHUB_USER: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: shell-dev-${{ matrix.shell_assembly_id }}.${{ matrix.shell_assembly_format }} | |
path: target/shell-dev-${{ matrix.shell_assembly_id }}.${{ matrix.shell_assembly_format }} | |
- uses: repolevedavaj/create-cli-app-nsis-installer@main | |
if: ${{ matrix.os == 'windows-latest'}} | |
with: | |
package-identifier: ProjectEnv.ProjectEnvShell | |
package-name: Project-Env Shell | |
package-version: dev | |
source-directory: target/shell-dev-windows-amd64 | |
- uses: actions/upload-artifact@v3 | |
if: ${{ matrix.os == 'windows-latest'}} | |
with: | |
name: shell-dev-${{ matrix.shell_assembly_id }}-setup.exe | |
path: target/shell-dev-${{ matrix.shell_assembly_id }}-setup.exe |