Skip to content

Commit

Permalink
fix: include dot-files support in glob selection (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
benPearce1 authored Feb 17, 2023
1 parent 96db681 commit 0ade358
Show file tree
Hide file tree
Showing 6 changed files with 3,430 additions and 91 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ lib/**/*
octo
out
reports/
testpkgs/
testpkgs/
.idea/
27 changes: 27 additions & 0 deletions DEVELOPERS_GUIDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Building for testing

To test a branch in GitHub Actions, an updated `dist/index.js` file is required.

```
npm run build
git add dist/.
git commit -m "updating index.js"
git log -q -n 1 dist/index.js | less -F
```

From the log output take note of the commit hash and push to GitHub

In a test GitHub action you can use the branched build of the action by referencing the branch or commit hash, see [here](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses) for details on the `uses` syntax.

```
- name: Create Zip Package for Octopus Deploy
# You may pin to the exact commit or the version.
uses: OctopusDeploy/create-zip-package-action@my-branch
with:
package_id: output
version: 1.0.0
output_folder: ./pack
base_path: .
files: |
**/*
```
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ steps:
| `package_file_path` | The full path to the package file that was created. |
| `package_filename` | The filename, without the path, of the file that was created. |

## Developers guide

[Developers Guide](DEVELOPERS_GUIDE.md)

## 🤝 Contributions

Contributions are welcome! :heart: Please read our [Contributing Guide](CONTRIBUTING.md) for information about how to get involved in this project.
Loading

0 comments on commit 0ade358

Please sign in to comment.