Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDoge committed Oct 23, 2023
1 parent c0f7a70 commit 6cf71af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ jobs:
TAG_NAME="${{ steps.set-tag-name.outputs.tag_name }}"
# Create a directory to store the archive
mkdir -p release-archives
mkdir -p ~/release-archives
# Check if .npmignore exists, and if so, use it to filter files for archiving
if [ -f ".npmignore" ]; then
tar -czvf release-archives/package.tgz --exclude-from=.npmignore
tar -czvf ~/release-archives/package.tgz --exclude-from=.npmignore .
else
tar -czvf release-archives/package.tgz .
tar -czvf ~/release-archives/package.tgz .
fi
- name: Upload Archive to Release
id: upload-archive
uses: actions/upload-artifact@v2
with:
name: package
path: release-archives/package.tgz
path: ~/release-archives/package.tgz

- name: Get Release ID
id: get-release-id
Expand Down

0 comments on commit 6cf71af

Please sign in to comment.