From 5a04db5c11a5ffcf8a82603e1d4d99d99c566ac2 Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Thu, 18 Sep 2025 21:29:51 +0200 Subject: [PATCH] added step to install minio client --- .gitea/workflows/sync-annotations.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/sync-annotations.yml b/.gitea/workflows/sync-annotations.yml index ea2f4ab..cf1df72 100644 --- a/.gitea/workflows/sync-annotations.yml +++ b/.gitea/workflows/sync-annotations.yml @@ -3,7 +3,7 @@ name: Sync Label Studio on: schedule: # This job will run every day at 03:00 AM - - cron: "0/10 * * * *" + - cron: "0/5 * * * *" jobs: sync_storage: @@ -17,6 +17,12 @@ jobs: -H "Authorization: Token $LABEL_STUDIO_API_TOKEN" \ "https://label-studio.gt-proj.com/api/storages/export/s3/1/sync" + - name: Install MinIO Client + run: | + wget https://dl.min.io/client/mc/release/linux-amd64/mc + chmod +x mc + sudo mv mc /usr/local/bin/ + - name: Fix Label Studio output content type in MinIO env: MINIO_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY }}