Skip to content

Commit

Permalink
action: also zip the files...
Browse files Browse the repository at this point in the history
  • Loading branch information
kirides committed Feb 22, 2023
1 parent 7efc7b2 commit 428106d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Display structure of downloaded files
run: ls -R

- name: Create distribution zip
- name: Create distribution
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
mkdir "${{env.RELEASE_DIR}}\GD3D11\shaders\CSFFT"
Expand All @@ -89,6 +89,13 @@ jobs:
name: ${{ env.RELEASE_DIR }}
path: ${{ env.RELEASE_DIR }}

- name: zip distribution for nightly
if: ${{ env.GITHUB_REF == 'refs/heads/master' }}
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
cd "${{env.RELEASE_DIR}}"
7z a -tzip "..\${{env.RELEASE_DIR}}.zip" -r
- name: Create nightly github release
if: ${{ env.GITHUB_REF == 'refs/heads/master' }}
run: |
Expand Down

0 comments on commit 428106d

Please sign in to comment.