Attempt to fix pipeline
Some checks failed
Build Windows Package / fetch (push) Failing after 8m25s
Build Windows Package / fetch (pull_request) Failing after 8m13s
Pull Request / action (pull_request_target) Failing after 0s
Build Windows Package / setup (push) Has been cancelled
Build Windows Package / setup (pull_request) Has been cancelled
Build Windows Package / Windows Build (push) Has been cancelled
Build Windows Package / Windows Build (pull_request) Has been cancelled
Some checks failed
Build Windows Package / fetch (push) Failing after 8m25s
Build Windows Package / fetch (pull_request) Failing after 8m13s
Pull Request / action (pull_request_target) Failing after 0s
Build Windows Package / setup (push) Has been cancelled
Build Windows Package / setup (pull_request) Has been cancelled
Build Windows Package / Windows Build (push) Has been cancelled
Build Windows Package / Windows Build (pull_request) Has been cancelled
This commit is contained in:
23
.github/workflows/build_prepare.yaml
vendored
23
.github/workflows/build_prepare.yaml
vendored
@@ -69,14 +69,23 @@ jobs:
|
||||
env:
|
||||
S3_AK: ${{ secrets.S3_AK }}
|
||||
S3_SK: ${{ secrets.S3_SK }}
|
||||
shell: bash
|
||||
run: |
|
||||
# Download MinIO client
|
||||
wget https://dl.min.io/client/mc/release/linux-amd64/mc
|
||||
chmod +x mc
|
||||
./mc alias set s3 https://s3.piskot.si $S3_AK $S3_SK
|
||||
|
||||
# Verify environment variables
|
||||
if [ -z "$S3_AK" ] || [ -z "$S3_SK" ]; then
|
||||
echo "Error: S3 credentials not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Upload files to S3
|
||||
run: |
|
||||
./mc cp webapp.asar s3/element-desktop/staging/
|
||||
./mc cp package.json s3/element-desktop/staging/
|
||||
./mc cp electronVersion s3/element-desktop/staging/
|
||||
./mc cp hakHash s3/element-desktop/staging/
|
||||
# Set and verify alias
|
||||
./mc alias set s3 https://s3.piskot.si "$S3_AK" "$S3_SK"
|
||||
if ! ./mc alias list | grep -q "s3"; then
|
||||
echo "Error: Failed to set S3 alias"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Successfully configured MinIO client"
|
||||
|
||||
Reference in New Issue
Block a user