Skip to content

Commit

Permalink
t4tea
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Jun 28, 2024
1 parent 4b1aa3a commit 450a36e
Showing 1 changed file with 4 additions and 67 deletions.
71 changes: 4 additions & 67 deletions .github/workflows/build-nativeshims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand All @@ -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 }}")
Expand Down

0 comments on commit 450a36e

Please sign in to comment.