From a565f36ec763b5ee37253ed8ebfd70c812eff394 Mon Sep 17 00:00:00 2001 From: sarmstrong Date: Mon, 25 May 2026 15:42:30 +0300 Subject: [PATCH] Update the achievements plugin action. --- .../loop-plugin-achievements-template.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.gitea/workflows/loop-plugin-achievements-template.yml b/.gitea/workflows/loop-plugin-achievements-template.yml index 18efffc..0c112d2 100644 --- a/.gitea/workflows/loop-plugin-achievements-template.yml +++ b/.gitea/workflows/loop-plugin-achievements-template.yml @@ -34,6 +34,31 @@ jobs: - name: ci/checkout-repo uses: actions/checkout@v3 + - name: ci/setup-node + uses: actions/setup-node@v4 + if: ${{ inputs.node_version }} + with: + node-version: "${{ inputs.node_version }}" + + - name: Setup yarn + run: npm install -g yarn + + - name: ci/setup-go + uses: actions/setup-go@v4 + if: ${{ inputs.go_version && inputs.go_cache != 'false' }} + with: + go-version: "${{ inputs.go_version }}" + cache-dependency-path: | + go.sum + server/go.sum + + - name: ci/setup-go-wo-cache + uses: actions/setup-go@v4 + if: ${{ inputs.go_version && inputs.go_cache == 'false' }} + with: + go-version: "${{ inputs.go_version }}" + cache: false + - id: publish-secrets name: ci/publish-secrets uses: https://github.com/hashicorp/vault-action@v2