From 450a36eb8a73937d4bcedbd1b97c1f844a15885e Mon Sep 17 00:00:00 2001 From: Dennis Dyall Date: Fri, 28 Jun 2024 22:49:17 +0200 Subject: [PATCH] t4tea --- .github/workflows/build-nativeshims.yml | 71 ++----------------------- 1 file changed, 4 insertions(+), 67 deletions(-) diff --git a/.github/workflows/build-nativeshims.yml b/.github/workflows/build-nativeshims.yml index d489ebbf..a1a3a402 100644 --- a/.github/workflows/build-nativeshims.yml +++ b/.github/workflows/build-nativeshims.yml @@ -28,37 +28,7 @@ on: type: string jobs: - # build-windows: - # name: Build Windows - # runs-on: windows-2019 - # steps: - # - uses: actions/checkout@v4 - # - run: | - # echo 'Running build script: Windows' - # cd Yubico.NativeShims - # & ./build-windows.ps1 - # - uses: actions/upload-artifact@v4 - # with: - # name: win-x64 - # path: Yubico.NativeShims/win-x64/** - # - uses: actions/upload-artifact@v4 - # with: - # name: win-x86 - # path: Yubico.NativeShims/win-x86/** - # - uses: actions/upload-artifact@v4 - # with: - # name: win-arm64 - # path: Yubico.NativeShims/win-arm64/** - # - uses: actions/upload-artifact@v4 - # with: - # name: nuspec - # path: | - # Yubico.NativeShims/*.nuspec - # readme.md - # - uses: actions/upload-artifact@v4 - # with: - # name: msbuild - # path: Yubico.NativeShims/msbuild/* + build-linux-amd64: name: Build Linux (amd64) @@ -78,42 +48,7 @@ jobs: name: nuspec path: | Yubico.NativeShims/*.nuspec - - uses: actions/upload-artifact@v4 - with: - path: - readme.md - - # build-linux-arm64: - # name: Build Linux (arm64) - # runs-on: ubuntu-20.04 - # steps: - # - uses: actions/checkout@v4 - # - run: | - # echo 'Running build script: Linux (arm64)' - # cd Yubico.NativeShims - # sh ./build-linux-arm64.sh - # - uses: actions/upload-artifact@v4 - # with: - # name: linux-arm64 - # path: Yubico.NativeShims/linux-arm64/*.so - - # build-macos: - # name: Build macOS - # runs-on: macos-12 - # steps: - # - uses: actions/checkout@v4 - # - run: | - # echo 'Running build script: macOS' - # cd Yubico.NativeShims - # sh ./build-macOS.sh - # - uses: actions/upload-artifact@v4 - # with: - # name: osx-x64 - # path: Yubico.NativeShims/osx-x64/** - # - uses: actions/upload-artifact@v4 - # with: - # name: osx-arm64 - # path: Yubico.NativeShims/osx-arm64/** + Yubico.NativeShims/readme.md pack: name: Package artifacts @@ -124,6 +59,8 @@ jobs: - run: | Get-ChildItem -Recurse mv nuspec/*.nuspec . + mv nuspec/*.md . + Write-Host (Get-Content readme.md) $nuspec = [xml](gc Yubico.NativeShims.nuspec) $repo = $nuspec.CreateElement("repository") $repo.SetAttribute("url","https://github.com/${{ github.repository }}")