Skip to content

Commit

Permalink
ci: included the static directory in the release archives
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylan Gökkaya committed Mar 15, 2022
1 parent c3290c9 commit e534889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@
{
"name": "PostBuild | Prepare",
"if": "matrix.os != 'windows-latest'",
"run": "cd target/${{ matrix.target }}/release\nstrip blog blog-server || true\ntar czvf ../../../${{ matrix.name }} blog blog-server\ncd -"
"run": "cd target/${{ matrix.target }}/release\nstrip blog blog-server || true\ntar czvf ../../../${{ matrix.name }} blog blog-server ../../../static\ncd -"
},
{
"if": "matrix.os == 'windows-latest'",
"name": "PostBuild | Prepare",
"run": "cd target/${{ matrix.target }}/release\n7z a ../../../${{ matrix.name }} blog.exe blog-server.exe\ncd -"
"run": "cd target/${{ matrix.target }}/release\n7z a ../../../${{ matrix.name }} blog.exe blog-server.exe ../../../static\ncd -"
},
{
"name": "Deploy | Upload Artifacts",
Expand Down

0 comments on commit e534889

Please sign in to comment.