Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/migration cyberduck release windows #6

Merged
merged 8 commits into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/cyberduck-release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
GIT_TAG:
required: false
env:
GITHUB_REPOSITORY: "${{ github.workspace }}\\${{ github.event.repository.name }}"
AWS_ACCESS_KEY_DEPLOYMENT: "${{ secrets.AWS_ACCESS_KEY_DEPLOYMENT }}"
AWS_SECRET_KEY_DEPLOYMENT: "${{ secrets.AWS_SECRET_KEY_DEPLOYMENT }}"
RACKSPACE_USER: "${{ secrets.RACKSPACE_USER }}"
Expand Down Expand Up @@ -36,7 +35,7 @@ jobs:
shell: powershell
env:
SPARKLE_UPDATER_PK: ${{ secrets.WIN_SPARKLE_UPDATER_PRIVATE_KEY }}
run: ${env:SPARKLE_UPDATER_PK} > $GITHUB_WORKSPACE\www\update\private.pem
run: ${env:SPARKLE_UPDATER_PK} > "${env:GITHUB_WORKSPACE}\www\update\private.pem"

- name: Set up JDK 17
uses: actions/setup-java@v4.0.0
Expand All @@ -51,31 +50,31 @@ jobs:
[{
"id": "maven.iterate.ch-release",
"username": "AKIAI44PZB4OH5YGWFVA",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}"
},
{
"id": "maven.iterate.ch-snapshot",
"username": "AKIAI44PZB4OH5YGWFVA",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}"
},
{
"id": "maven.cyberduck.io-release",
"username": "AKIAI44PZB4OH5YGWFVA",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}"
},
{
"id": "maven.cyberduck.io-snapshot",
"username": "AKIAI44PZB4OH5YGWFVA",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}",
"password": "${{ secrets.MAVEN_SERVER_PASSWORD }}"
}]
- name: Run maven
run: mvn clean deploy --settings $GITHUB_REPOSITORY/settings.xml -DskipTests -D"sparkle.feed="
run: mvn clean deploy --settings ${env:GITHUB_WORKSPACE}/settings.xml -DskipTests -D"sparkle.feed="
- name: run batch command
shell: cmd
run: FOR %%c in ("%GITHUB_REPOSITORY%\windows\target\release\Cyberduck-*") DO "C:\Program Files\Cyberduck CLI\duck.exe" --upload rackspace:/cdn.cyberduck.ch/ "%%c" --username %RACKSPACE_USER% --password %RACKSPACE_PASSWORD% --retry --quiet --existing overwrite --region DFW
run: FOR %%c in ("%GITHUB_WORKSPACE%\windows\target\release\Cyberduck-*") DO "C:\Program Files\Cyberduck CLI\duck.exe" --upload rackspace:/cdn.cyberduck.ch/ "%%c" --username %RACKSPACE_USER% --password %RACKSPACE_PASSWORD% --retry --quiet --existing overwrite --region DFW
- name: run batch command
shell: cmd
run: FOR %%c in ("%GITHUB_REPOSITORY%\windows\target\release\Cyberduck-*") DO "C:\Program Files\Cyberduck CLI\duck.exe" --upload s3:/release.cyberduck.io/ "%%c" --username %AWS_ACCESS_KEY_DEPLOYMENT% --password %AWS_SECRET_KEY_DEPLOYMENT% --retry --quiet --existing overwrite --region us-east-1
run: FOR %%c in ("%GITHUB_WORKSPACE%\windows\target\release\Cyberduck-*") DO "C:\Program Files\Cyberduck CLI\duck.exe" --upload s3:/release.cyberduck.io/ "%%c" --username %AWS_ACCESS_KEY_DEPLOYMENT% --password %AWS_SECRET_KEY_DEPLOYMENT% --retry --quiet --existing overwrite --region us-east-1
- name: Upload Artifacts
uses: actions/upload-artifact@v3.1.3
if: always()
Expand Down
Loading