Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Slinet6056 committed Sep 4, 2024
1 parent 82a2f4b commit 21e8561
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# archpkg-build action

## Example usage

```yml
uses: Slinet6056/archpkg-build@master
with:
package_name: pkg
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
pkgs_directory: test # optional
```
## Tips
### use matrix to build multi pkgs
```yml
strategy:
matrix:
pkgs: [pkg1, pkg2]

steps:
- uses: Slinet6056/archpkg-build@master
with:
package_name: ${{ matrix.pkgs }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
```

0 comments on commit 21e8561

Please sign in to comment.