From f484380aa4de22107ed371e356c6190f7ee935f5 Mon Sep 17 00:00:00 2001 From: lights0123 Date: Sun, 27 Sep 2020 17:33:14 -0400 Subject: [PATCH] Fix releasing this time --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c15545..14dbcb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,7 +108,7 @@ jobs: const {repo: {owner, repo}, sha} = context; console.log({owner, repo, sha}); - const {name, version} = require('./package.json'); + const {name, version} = require('${process.env.GITHUB_WORKSPACE}/package.json'); const arch = process.arch === 'x64' ? 'amd64' : process.arch; for (let file of (await fs.readdir('${process.env.GITHUB_WORKSPACE}/src-tauri/target/release/bundle/deb', {withFileTypes: true})).filter(dir => dir.isFile()).map(({name}) => name)) {