From 97ada706846ab4f8c08a61b3cdb6e85486595748 Mon Sep 17 00:00:00 2001 From: Kaspar Kallas Date: Tue, 2 Jul 2024 13:54:56 +0300 Subject: [PATCH] fix: gha version fix --- .github/workflows/aw-subgraph-ci-goldsky.yml | 2 +- .github/workflows/fs-subgraph-ci-goldsky.yml | 2 +- .github/workflows/vs-subgraph-ci-goldsky.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/aw-subgraph-ci-goldsky.yml b/.github/workflows/aw-subgraph-ci-goldsky.yml index 15c57cb..95e1dbb 100644 --- a/.github/workflows/aw-subgraph-ci-goldsky.yml +++ b/.github/workflows/aw-subgraph-ci-goldsky.yml @@ -53,7 +53,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); - const packageJson = JSON.parse(fs.readFileSync('./package.json')); + const packageJson = JSON.parse(fs.readFileSync('./subgraphs/wrap-scheduler/package.json')); return packageJson.version; - name: Goldsky Login run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}} diff --git a/.github/workflows/fs-subgraph-ci-goldsky.yml b/.github/workflows/fs-subgraph-ci-goldsky.yml index fe4a9e4..3077aee 100644 --- a/.github/workflows/fs-subgraph-ci-goldsky.yml +++ b/.github/workflows/fs-subgraph-ci-goldsky.yml @@ -53,7 +53,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); - const packageJson = JSON.parse(fs.readFileSync('./package.json')); + const packageJson = JSON.parse(fs.readFileSync('./subgraphs/flow-scheduler/package.json')); return packageJson.version; - name: Goldsky Login run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}} diff --git a/.github/workflows/vs-subgraph-ci-goldsky.yml b/.github/workflows/vs-subgraph-ci-goldsky.yml index 09ecc17..2fbe178 100644 --- a/.github/workflows/vs-subgraph-ci-goldsky.yml +++ b/.github/workflows/vs-subgraph-ci-goldsky.yml @@ -53,7 +53,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); - const packageJson = JSON.parse(fs.readFileSync('./package.json')); + const packageJson = JSON.parse(fs.readFileSync('./subgraphs/vesting-scheduler/package.json')); return packageJson.version; - name: Goldsky Login run: pnpm exec goldsky login --token ${{secrets.GOLDSKY_API_KEY}}