8000 Merge pull request #35 from actions/konradpabjan/ncc · cnfun/setup-python@6e5196c · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e5196c

Browse files
authored
Merge pull request actions#35 from actions/konradpabjan/ncc
Remove node modules and configure ncc
2 parents 28a6c1b + 4875b9e commit 6e5196c

File tree

180 files changed

+5570
-13949
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+5570
-13949
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# Explicitly not ignoring node_modules so that they are included in package downloaded by runner
2-
!node_modules/
1+
# Ignore node_modules, ncc is used to compile nodejs modules into a single file in the releases branch
2+
node_modules/
33
__tests__/runner/*
44

5+
# Ignore js files that are transpiled from ts files in src/
6+
lib/
7+
58
# Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
69
# Logs
710
logs

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ inputs:
1010
default: 'x64'
1111
runs:
1212
using: 'node12'
13-
main: 'lib/setup-python.js'
13+
main: 'dist/index.js'
14+
branding:
15+
icon: 'code'
16+
color: 'yellow'

0 commit comments

Comments
 (0)
0