-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a port of dechamps/ASIO401@89ecfc6 and dechamps/ASIO401@a564038
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
msvc_arch: amd64_x86 | ||
build_type: Debug | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
# Required for version stamping (`git describe`) to work. | ||
|
@@ -30,7 +30,7 @@ jobs: | |
- run: cmake -S src -B src/out/build/${{ matrix.msvc_config }} -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX:PATH=${{ github.workspace }}/src/out/install/${{ matrix.msvc_config }} | ||
- run: cmake --build src/out/build/${{ matrix.msvc_config }} | ||
- run: cmake --install src/out/build/${{ matrix.msvc_config }} | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: FlexASIO-${{ matrix.msvc_config }} | ||
path: src/out/install/${{ matrix.msvc_config }}/ | ||
|
@@ -66,22 +66,22 @@ jobs: | |
runs-on: windows-latest | ||
needs: build | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
# Required for version stamping (`git describe`) to work. | ||
fetch-depth: 0 | ||
- uses: actions/download-artifact@v2 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: FlexASIO-x64-Release | ||
path: src/out/install/x64-Release | ||
- uses: actions/download-artifact@v2 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: FlexASIO-x86-Release | ||
path: src/out/install/x86-Release | ||
- run: cmake -P installer.cmake | ||
working-directory: src | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: FlexASIO-installer | ||
path: src/out/installer/* | ||
|
@@ -91,13 +91,13 @@ jobs: | |
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: FlexASIO-installer | ||
- uses: sigstore/[email protected] | ||
with: | ||
inputs: "*" | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sigstore | ||
path: "*.sigstore" | ||
|
@@ -111,10 +111,10 @@ jobs: | |
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: FlexASIO-installer | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: sigstore | ||
- uses: softprops/action-gh-release@v1 | ||
|