Fix: CI - ESR name

This commit is contained in:
alstjr7375 2023-10-03 23:01:55 +09:00
parent 9429288d74
commit 89382e1aaa

View file

@ -43,13 +43,13 @@ jobs:
name: "Lepton-Proton-Style" name: "Lepton-Proton-Style"
branch: "proton-style" branch: "proton-style"
- mode: "ESR" - mode: "ESR"
name: "Lepton" name: "ESR-Lepton"
branch: "master" branch: "master"
- mode: "ESR" - mode: "ESR"
name: "Lepton-Photon-Style" name: "ESR-Lepton-Photon-Style"
branch: "photon-style" branch: "photon-style"
- mode: "ESR" - mode: "ESR"
name: "Lepton-Proton-Style" name: "ESR-Lepton-Proton-Style"
branch: "proton-style" branch: "proton-style"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -99,17 +99,8 @@ jobs:
zip -rv ${{ matrix.name }}.zip chrome CREDITS LICENSE user.js install.sh install.ps1 zip -rv ${{ matrix.name }}.zip chrome CREDITS LICENSE user.js install.sh install.ps1
- uses: softprops/action-gh-release@v1 # actions/create-release, actions/upload-release-asset is deprecated - uses: softprops/action-gh-release@v1 # actions/create-release, actions/upload-release-asset is deprecated
if: matrix.mode == 'STANDARD'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
files: | files: |
${{ matrix.name }}.zip ${{ matrix.name }}.zip
- uses: softprops/action-gh-release@v1
if: matrix.mode == 'ESR'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
ESR-${{ matrix.name }}.zip