We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2053b5f commit ebca0c3Copy full SHA for ebca0c3
main.ts
@@ -1,8 +1,15 @@
1
import * as core from '@actions/core'
2
+import process from 'process'
3
import {get} from './src/downloader'
4
5
async function run(): Promise<void> {
6
try {
7
+ if (process.platform !== 'win32') {
8
+ core.warning(
9
+ `Skipping this Action because it only works on Windows, not on ${process.platform}`
10
+ )
11
+ return
12
+ }
13
const flavor = core.getInput('flavor')
14
const architecture = core.getInput('architecture')
15
0 commit comments