Skip to content

Commit

Permalink
not nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Mar 18, 2023
1 parent 900e912 commit 7eb4fea
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
description: "コード署名する"
type: boolean
upload_artifact:
description: "デバッグ用に青果物をartifactにアップロードするか"
description: "デバッグ用に成果物をartifactにアップロードするか"
type: boolean
default: false

Expand Down Expand Up @@ -365,8 +365,8 @@ jobs:
shell: bash
run: mkdir -p prepackage/VOICEVOX.app/Contents/Resources/ja.lproj prepackage/VOICEVOX.app/Contents/Resources/en.lproj

- name: Create Linux tar.gz
if: startsWith(matrix.artifact_name, 'linux-')
- name: Create Linux tar.gz (without nvidia)
if: startsWith(matrix.artifact_name, 'linux-') && !contains(matrix.artifact_name, 'nvidia')
shell: bash
run: |
name="${{ matrix.compressed_artifact_name }}-${{ env.VOICEVOX_EDITOR_VERSION }}"
Expand All @@ -375,8 +375,8 @@ jobs:
7z a -tgzip $name.tar.gz $name.tar
rm $name.tar
- name: Uplaod Linux tar.gz
if: startsWith(matrix.artifact_name, 'linux-')
- name: Uplaod Linux tar.gz (without nvidia)
if: startsWith(matrix.artifact_name, 'linux-') && !contains(matrix.artifact_name, 'nvidia')
uses: ./.github/actions/upload-release-and-artifact
with:
files: |-
Expand All @@ -388,22 +388,22 @@ jobs:
target_commitish: ${{ github.sha }}
artifact_name: ${{ matrix.artifact_name }}-targz

- name: Delete Linux tar.gz
if: startsWith(matrix.artifact_name, 'linux-')
- name: Delete Linux tar.gz (without nvidia)
if: startsWith(matrix.artifact_name, 'linux-') && !contains(matrix.artifact_name, 'nvidia')
shell: bash
run: |
rm ${{ matrix.compressed_artifact_name }}-${{ env.VOICEVOX_EDITOR_VERSION }}.tar.gz
- name: Create Windows & Mac zip
if: startsWith(matrix.artifact_name, 'windows-') || startsWith(matrix.artifact_name, 'macos-')
- name: Create Windows & Mac zip (without nvidia)
if: (startsWith(matrix.artifact_name, 'windows-') || startsWith(matrix.artifact_name, 'macos-')) && !contains(matrix.artifact_name, 'nvidia')
shell: bash
run: |
name="${{ matrix.compressed_artifact_name }}-${{ env.VOICEVOX_EDITOR_VERSION }}"
7z a -tzip $name.zip prepackage/
7z rn $name.zip prepackage/ VOICEVOX/
- name: Upload Windows & Mac zip
if: startsWith(matrix.artifact_name, 'windows-') || startsWith(matrix.artifact_name, 'macos-')
- name: Upload Windows & Mac zip (without nvidia)
if: (startsWith(matrix.artifact_name, 'windows-') || startsWith(matrix.artifact_name, 'macos-')) && !contains(matrix.artifact_name, 'nvidia')
uses: ./.github/actions/upload-release-and-artifact
with:
files: |-
Expand All @@ -415,8 +415,8 @@ jobs:
target_commitish: ${{ github.sha }}
artifact_name: ${{ matrix.artifact_name }}-zip

- name: Delete Windows & Mac zip
if: startsWith(matrix.artifact_name, 'windows-') || startsWith(matrix.artifact_name, 'macos-')
- name: Delete Windows & Mac zip (without nvidia)
if: (startsWith(matrix.artifact_name, 'windows-') || startsWith(matrix.artifact_name, 'macos-')) && !contains(matrix.artifact_name, 'nvidia')
shell: bash
run: |
rm ${{ matrix.compressed_artifact_name }}-${{ env.VOICEVOX_EDITOR_VERSION }}.zip
Expand Down

0 comments on commit 7eb4fea

Please sign in to comment.