Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kokofixcomputers authored Oct 11, 2024
1 parent 7591536 commit 4f02470
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,25 @@ jobs:
rm -rf node_modules tests CODE_OF_CONDUCT.md CONTRIBUTING.md flake.lock flake.nix phpunit.xml shell.nix
echo "Unnecessary files removed."
- name: Create lock file
run: yarn install --frozen-lockfile # Creates or updates the lock file

- name: Create release directory
run: mkdir -p release/kokofixcomputers

- name: Wait for previous tasks to finish
run: sleep 3s

- name: Prepare files for packaging
run: |
mkdir -p /tmp/package
cp -r ./release/kokofixcomputers/* /tmp/package/
echo "Files prepared for packaging."
- name: Package the build into a tar file
run: |
TAR_FILE="release/kokofixcomputers/panel.tar.gz" # Set the desired filename here
tar -czf "$TAR_FILE" . # The dot (.) indicates to include everything in the current directory
tar -czf "$TAR_FILE" -C /tmp/package . # Create tar from temp directory
echo "Release created at $TAR_FILE"
- name: Upload release artifact
Expand Down

0 comments on commit 4f02470

Please sign in to comment.