Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pjv committed Mar 28, 2023
1 parent 14518a4 commit 5ff379d
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,9 @@ jobs:
uses: montudor/action-zip@v0.1.0
with:
args: zip -X -r build/wp-nostr.zip . -x *.git* node_modules/\* .* "*/\.*" CODE_OF_CONDUCT.md CONTRIBUTING.md ISSUE_TEMPLATE.md PULL_REQUEST_TEMPLATE.md README.md *.dist composer.* build**
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: graphql-api
path: build/wp-nostr.zip
- name: Upload to release
uses: JasonEtco/upload-to-release@master
uses: svenstaro/upload-release-action@v2
with:
args: build/wp-nostr.zip application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/wp-nostr.zip
asset_name: wp-nostr.zip

0 comments on commit 5ff379d

Please sign in to comment.