Skip to content

Commit

Permalink
Merge pull request #34 from inwx/chore_replace_deprecated_maysql_query
Browse files Browse the repository at this point in the history
chore(ci): fix wrong release pattern
  • Loading branch information
fsoederhuyzen authored May 24, 2024
2 parents 3f8e277 + 4810b8e commit 2661eb2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,19 @@ jobs:
node-version: "lts/*"
- name: Install dependencies
run: pnpm install
- name: Create release.zip
uses: montudor/action-zip@v1
with:
args: zip -qq -r release.zip modules LICENSE README.md
- name: Generate checksum
uses: jmgilman/actions-generate-checksum@v1
with:
patterns: |
release.zip
- name: Release
env:
WHMCSMP_LOGIN: ${{ vars.WHMCSMP_LOGIN }}
WHMCSMP_PASSWORD: ${{ secrets.WHMCSMP_PASSWORD }}
WHMCSMP_PRODUCTID: ${{ vars.WHMCSMP_PRODUCTID }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm semantic-release
- name: Generate checksum
uses: jmgilman/actions-generate-checksum@v1
with:
patterns: |
release.zip
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@
{
"assets": [
{
"path": "modules",
"name": "release.zip"
"path": "release.zip"
},
{
"path": "checksum.txt"
}
]
}
Expand Down

0 comments on commit 2661eb2

Please sign in to comment.