Another attempt at fixing pipeline
Some checks failed
Build Windows Package / setup (push) Has been cancelled
Build Windows Package / Windows Build (push) Has been cancelled
Build Windows Package / fetch (push) Has been cancelled
Build Windows Package / fetch (pull_request) Failing after 6m27s
Pull Request / action (pull_request_target) Failing after 0s
Build Windows Package / setup (pull_request) Has been cancelled
Build Windows Package / Windows Build (pull_request) Has been cancelled
Some checks failed
Build Windows Package / setup (push) Has been cancelled
Build Windows Package / Windows Build (push) Has been cancelled
Build Windows Package / fetch (push) Has been cancelled
Build Windows Package / fetch (pull_request) Failing after 6m27s
Pull Request / action (pull_request_target) Failing after 0s
Build Windows Package / setup (pull_request) Has been cancelled
Build Windows Package / Windows Build (pull_request) Has been cancelled
This commit is contained in:
21
.github/workflows/build_prepare.yaml
vendored
21
.github/workflows/build_prepare.yaml
vendored
@@ -66,26 +66,25 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Install and configure MinIO Client
|
||||
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
|
||||
|
||||
# Verify environment variables
|
||||
if [ -z "$S3_AK" ] || [ -z "$S3_SK" ]; then
|
||||
echo "Error: S3 credentials not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Set and verify alias
|
||||
./mc alias set s3 https://s3.piskot.si "$S3_AK" "$S3_SK"
|
||||
if ! ./mc alias list | grep -q "s3"; then
|
||||
./mc alias set s3piskot https://s3.piskot.si ${{ secrets.S3_AK }} ${{ secrets.S3_SK }}
|
||||
if ! ./mc alias list | grep -q "s3piskot"; then
|
||||
echo "Error: Failed to set S3 alias"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Successfully configured MinIO client"
|
||||
|
||||
- name: Upload cache files
|
||||
run: |
|
||||
# Upload cache files to MinIO
|
||||
./mc cp webapp.asar s3piskot/element-desktop/staging/
|
||||
./mc cp package.json s3piskot/element-desktop/staging/
|
||||
./mc cp electronVersion s3piskot/element-desktop/staging/
|
||||
./mc cp hakHash s3piskot/element-desktop/staging/
|
||||
Reference in New Issue
Block a user