Skip to content

Commit 43913d9

Browse files
committed
build to orphan?
1 parent 0136f93 commit 43913d9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ jobs:
1111
node-version: '12.x'
1212
- run: |
1313
npm ci
14+
mkdir dist
1415
npm run build
16+
cp package.json dist
17+
cp action.yml dist
18+
cp README.md dist
1519
- run: |
16-
git checkout --detach
20+
git checkout --orphan build_branch
1721
git config user.email "ros-tooling@users.noreply.github.com"
1822
git config user.name "ROS Tooling [bot]"
1923
git add --force dist

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "action-ros-ci",
33
"version": "0.0.18",
44
"description": "GitHub Action compiling and testing a ROS 2 package",
5-
"main": "lib/main.js",
5+
"main": "dist/main.js",
66
"scripts": {
77
"build": "ncc build src/action-ros-ci.ts -o dist",
88
"lint": "eslint src/action-ros-ci.ts",
@@ -27,6 +27,9 @@
2727
"url": "http://www.apache.org/licenses/LICENSE-2.0"
2828
}
2929
],
30+
"files": [
31+
"action.yml"
32+
],
3033
"bugs": {
3134
"url": "https://github.com/ros-tooling/action-ros-ci/issues"
3235
},

0 commit comments

Comments
 (0)