mirror of
https://github.com/lights0123/n-link.git
synced 2025-07-22 19:58:42 +00:00
Fix releasing this time
This commit is contained in:
parent
1feb5997cd
commit
f484380aa4
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -108,7 +108,7 @@ jobs:
|
||||||
|
|
||||||
const {repo: {owner, repo}, sha} = context;
|
const {repo: {owner, repo}, sha} = context;
|
||||||
console.log({owner, repo, sha});
|
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;
|
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)) {
|
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)) {
|
||||||
|
|
Loading…
Reference in a new issue