From e6189f5dc5e7fa9933238b0a281c916a7d8e6799 Mon Sep 17 00:00:00 2001 From: Sohrab Behdani Date: Tue, 18 Mar 2025 20:47:14 +0330 Subject: [PATCH] fixed syntax --- .forgejo/workflows/test.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index dc768bc..ba9b07d 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -13,26 +13,29 @@ jobs: privileged: true steps: - - name: nodejs - - run: pacman -Syu --noconfirm nodejs + - name: Install Node.js + run: pacman -Syu --noconfirm nodejs + - name: Checkout repository uses: actions/checkout@v4 + - name: Create hello.txt run: echo "Hello, Forgejo CI!" > hello.txt + - name: Install MinIO Client (mc) run: | curl -O https://dl.min.io/client/mc/release/linux-amd64/mc chmod +x mc - sudo mv mc /usr/local/bin/ - + mv mc /usr/local/bin/ + - name: Configure MinIO Client run: | mc alias set myminio $S3_ENDPOINT $S3_ACCESS_KEY $S3_SECRET_KEY - + - name: Upload file to S3 run: | mc cp hello.txt myminio/$S3_BUCKET_NAME/hello.txt - + env: S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }} S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}