mirror of
https://github.com/Yamato-Security/WELA.git
synced 2026-10-08 07:15:25 +02:00
fix: update .gitignore and release workflows for new output files and README changes
This commit is contained in:
5 files changed
+3197
-5110
No files matched your search
@@ -10,7 +10,7 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-2019, windows-2022, windows-2025]
|
||||
os: [windows-2022, windows-2025]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
@@ -49,8 +49,11 @@ jobs:
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git add *.csv
|
||||
if (git diff-index --quiet HEAD) {
|
||||
# 生成先は config/ 配下なので、ルート直下の *.csv では拾えない
|
||||
git add config/*.csv
|
||||
# git diff-index の終了コードを見る($? を使わないと出力の真偽値判定になってしまう)
|
||||
git diff-index --quiet HEAD
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
echo "No changes to commit"
|
||||
} else {
|
||||
git commit -m "Automated update"
|
||||
|
||||
@@ -63,9 +63,9 @@ jobs:
|
||||
if: matrix.info.os == 'macos-latest'
|
||||
run: |
|
||||
npm i -g md-to-pdf
|
||||
md-to-pdf ./*.md --md-file-encoding utf-8
|
||||
mv ./README.pdf ./README-${{ github.event.inputs.release_ver }}-English.pdf
|
||||
mv ./README-Japanese.pdf ./README-${{ github.event.inputs.release_ver }}-Japanese.pdf
|
||||
md-to-pdf ./OLD-README.md ./OLD-README-Japanese.md --md-file-encoding utf-8
|
||||
mv ./OLD-README.pdf ./README-${{ github.event.inputs.release_ver }}-English.pdf
|
||||
mv ./OLD-README-Japanese.pdf ./README-${{ github.event.inputs.release_ver }}-Japanese.pdf
|
||||
|
||||
- name: Upload Document Artifacts
|
||||
if: matrix.info.os == 'macos-latest'
|
||||
|
||||
Reference in new issue
Block a user