Fix actions

This commit is contained in:
louist103 2025-03-30 21:00:36 -04:00
commit d27e8c029a
2 changed files with 11 additions and 11 deletions

View file

@ -62,16 +62,16 @@ jobs:
cmake .. cmake ..
make make
sudo make install sudo make install
- name: Generate soh.otr - name: Generate soh.o2r
run: | run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release cmake --no-warn-unused-cli -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE:STRING=Release
cmake --build build-cmake --config Release --target GenerateSohOtr -j3 cmake --build build-cmake --config Release --target GenerateSohOtr -j3
- name: Upload soh.otr - name: Upload soh.o2r
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: soh.otr name: soh.o2r
path: soh.otr path: soh.o2r
retention-days: 3 retention-days: 3
build-macos: build-macos:
@ -122,10 +122,10 @@ jobs:
brew uninstall --ignore-dependencies libpng brew uninstall --ignore-dependencies libpng
sudo port install $(cat .github/workflows/macports-deps.txt) sudo port install $(cat .github/workflows/macports-deps.txt)
brew install ninja brew install ninja
- name: Download soh.otr - name: Download soh.o2r
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: soh.otr name: soh.o2r
path: build-cmake/soh path: build-cmake/soh
- name: Build SoH - name: Build SoH
run: | run: |
@ -233,10 +233,10 @@ jobs:
make make
sudo make install sudo make install
sudo cp -av /usr/local/lib/libzip* /lib/x86_64-linux-gnu/ sudo cp -av /usr/local/lib/libzip* /lib/x86_64-linux-gnu/
- name: Download soh.otr - name: Download soh.o2r
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: soh.otr name: soh.o2r
path: build-cmake/soh path: build-cmake/soh
- name: Build SoH - name: Build SoH
run: | run: |
@ -298,10 +298,10 @@ jobs:
path: vcpkg path: vcpkg
- name: Configure Developer Command Prompt - name: Configure Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
- name: Download soh.otr - name: Download soh.o2r
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: soh.otr name: soh.o2r
path: build-windows/soh path: build-windows/soh
- name: Build SoH - name: Build SoH
env: env:

View file

@ -48,7 +48,7 @@ jobs:
}); });
return allArtifacts.data.artifacts.reduce((acc, item) => { return allArtifacts.data.artifacts.reduce((acc, item) => {
if (item.name === "soh.otr") return acc; if (item.name === "soh.o2r") return acc;
acc += ` acc += `
- [${item.name}.zip](https://nightly.link/${context.repo.owner}/${context.repo.repo}/actions/artifacts/${item.id}.zip)`; - [${item.name}.zip](https://nightly.link/${context.repo.owner}/${context.repo.repo}/actions/artifacts/${item.id}.zip)`;
return acc; return acc;