Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roderik committed May 19, 2023
1 parent 56592e0 commit dc8e429
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 23 deletions.
57 changes: 39 additions & 18 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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run package"
"all": "npm run build && npm run package"
},
"keywords": [],
"homepage": "https://github.com/settlemint/setup-op",
Expand Down
7 changes: 4 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import core from '@actions/core'
import tc from '@actions/tool-cache'
import os from 'os'
import * as core from '@actions/core'
import * as tc from '@actions/tool-cache'
import * as os from 'os'

function mapArch(arch: string): string {
const mappings: Record<string, string> = {
Expand Down Expand Up @@ -43,6 +43,7 @@ export default async function setup(): Promise<void> {
core.getInput('service-account-token')
)
} catch (e) {
console.log(e)
core.setFailed(e as Error)
}
}
Expand Down

0 comments on commit dc8e429

Please sign in to comment.