~ashkeel/strimertul

40b51ed69e1c5da9c00ae7c4c3279d4e659aa0c8 — Ash Keel 7 months ago 732eda6
ci: upload to minio
1 files changed, 11 insertions(+), 1 deletions(-)

M .forgejo/workflows/release.yml
M .forgejo/workflows/release.yml => .forgejo/workflows/release.yml +11 -1
@@ 29,4 29,14 @@ jobs:
      - name: Build windows/amd64 release
        run: GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc wails build -ldflags "-X main.appVersion=${GITHUB_REF_NAME}" -m -nosyncgomod -skipbindings -s -platform windows/amd64 -upx -upxflags "-9"
      - name: Move binaries to build/bin
        run: mkdir build/bin/${GITHUB_REF_NAME} && mv build/bin/strimertul* "build/bin/${GITHUB_REF_NAME}/"
\ No newline at end of file
        run: mkdir build/bin/${GITHUB_REF_NAME} && mv build/bin/strimertul* "${GITHUB_REF_NAME}/"
      - name: Upload binaries to MinIO
        uses: github.com/yakubique/minio-upload@v1.1.3
        with:
          endpoint: https://artifacts.fromouter.space
          access_key: ${{ secrets.MINIO_ACCESS }}
          secret_key: ${{ secrets.MINIO_SECRET }}
          bucket: strimertul-builds
          source: "${GITHUB_REF_NAME}/"
          target: /
          recursive: true
\ No newline at end of file