Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
superwunc committed Jun 17, 2024
1 parent b51b832 commit 1ae71e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import fs from 'node:fs'
export async function run(): Promise<void> {
try {
const www = fs.existsSync('dist')
core.setOutput('dist', www)
core.setOutput('dist', www)
const www2 = fs.existsSync('src')
core.setOutput('src', www2)
} catch (error) {
// Fail the workflow run if an error occurs
if (error instanceof Error) core.setFailed(error.message)
Expand Down

0 comments on commit 1ae71e0

Please sign in to comment.