From a79953a8e02ccec945cdce5c6b8d028efb1011a0 Mon Sep 17 00:00:00 2001 From: Lovelylavender4 Date: Thu, 8 Feb 2024 22:24:01 +0800 Subject: [PATCH] ci: update release.yml --- .github/workflows/release.yml | 6 +++--- iFamily/include/ifamily.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0dd714f..88c5031 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,7 +82,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: iFamily-${{ matrix.mode }}-windows-x64-${{ github.sha }} path: artifact @@ -96,12 +96,12 @@ jobs: - id: calculate-sha256 run: | - echo sha256=$(sha256sum iFamily-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT + echo sha256=$(sha256sum iFamily-${{ matrix.mode }}-windows-x64.zip | awk '{print $1}') >> $GITHUB_OUTPUT - uses: softprops/action-gh-release@v1 with: append_body: true body: | - | iFamily-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} | + | iFamily-${{ matrix.mode }}-windows-x64.zip | ${{ steps.calculate-sha256.outputs.sha256 }} | files: | iFamily-${{ matrix.mode }}-windows-x64.zip diff --git a/iFamily/include/ifamily.h b/iFamily/include/ifamily.h index 2812052..2ca3c57 100644 --- a/iFamily/include/ifamily.h +++ b/iFamily/include/ifamily.h @@ -22,7 +22,4 @@ namespace MiracleForest::inline i { -namespace core -{ -} // namespace core } // namespace MiracleForest::inline i \ No newline at end of file