Files
cyberduck/.github/workflows/deploy.yml
T
dependabot[bot] 20ecc2a1fa Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 16:26:17 +00:00

59 lines
1.9 KiB
YAML

name: Publish Artifacts
on:
workflow_dispatch:
push:
branches:
- master
jobs:
snapshot:
permissions:
checks: write
contents: read
packages: read
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
cache: maven
- name: Add msbuild to PATH
if: ${{ runner.os == 'Windows' }}
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: "NuGet"
if: runner.os == 'windows'
env:
NugetCredentials: "Username=${{ github.actor }};Password=${{ secrets.GITHUB_TOKEN }}"
run: |
echo "NuGetPackageSourceCredentials_gh-ikvmnet=${{ env.NugetCredentials }}" >> $env:GITHUB_ENV
echo "NuGetPackageSourceCredentials_gh-iterate-ch=${{ env.NugetCredentials }}" >> $env:GITHUB_ENV
- name: Install Bonjour SDK
if: ${{ runner.os == 'Windows' }}
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install bonjour -y
- name: Install WiX Toolset
if: ${{ runner.os == 'Windows' }}
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install wixtoolset -y
- name: Install OpenSSL
if: ${{ runner.os == 'Windows' }}
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install openssl -y
- name: Build with Maven
run: mvn --batch-mode deploy -DskipTests -DskipITs -DskipSign -DskipNotarize
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}