Skip to content

Commit 3470bf8

Browse files
committed
Replaced SFTP with upload to S3
1 parent 1b100f0 commit 3470bf8

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/build_release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@ jobs:
8282
run: msbuild ${{ github.event.repository.name }}.sln -property:Configuration=Release
8383

8484
- name: Upload windows release for code signing
85-
uses: wearesection/sftp-action@1.0.1
86-
with:
87-
host: ${{ secrets.SFTP_HOST }}
88-
port: ${{ secrets.SFTP_PORT }}
89-
username: runner
90-
privateKey: ${{ secrets.SFTP_PRIVATE_KEY }}
91-
localPath: ./x64/Release/loc_x64_f.dll
92-
remotePath: /artifacts/${{ github.event.repository.name }}/v${{ needs.bump_version.outputs.new_version || needs.bump_version.outputs.current_version }}/loc_x64_f.dll
85+
env:
86+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
87+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
88+
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
89+
AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}
90+
run: aws s3 cp ./x64/Release/loc_x64_f.dll s3://builds/unsigned/${{ github.event.repository.name }}/v${{ needs.bump_version.outputs.new_version || needs.bump_version.outputs.current_version }}/loc_x64_f.dll

0 commit comments

Comments
 (0)