From d7e319c2a564c8c03b04e99c4c314fda952a615b Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Wed, 1 May 2024 17:24:16 +0800 Subject: [PATCH] refactor: Release workflow --- .github/workflows/release.yml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69101e22f..68b33c405 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,28 +9,16 @@ on: jobs: build-release: runs-on: ubuntu-latest - -# container: -# image: mono:latest - steps: -# - name: Installing checkout/build dependencies -# run: apt-get update && apt-get install -y make wget - uses: actions/checkout@v4 - - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: dotnet-version: '7' - -# - name: Installing runtime dependencies -# run: apt-get install -y xvfb - - name: Build ckan.exe and netkan.exe run: ./build --configuration=Release - name: Run tests run: xvfb-run ./build test+only --configuration=Release --where="Category!=FlakyNetwork" - # - name: Publish ckan.dll to NuGet # env: # NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} @@ -38,7 +26,6 @@ jobs: # run: | # curl -o nuget.exe -L 'https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe' # mono nuget.exe push _build/out/CKAN/Release/bin/*.nupkg ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json -SkipDuplicate - - uses: actions/upload-artifact@v4 with: name: repack-unsigned @@ -47,8 +34,6 @@ jobs: build-dmg: runs-on: ubuntu-latest needs: build-release -# container: -# image: mono:latest steps: - uses: actions/checkout@v4 - name: OSX build dependencies @@ -67,12 +52,8 @@ jobs: build-deb: runs-on: ubuntu-latest needs: build-release -# container: -# image: mono:latest steps: - uses: actions/checkout@v4 -# - name: Installing deb build dependencies -# run: apt-get update && apt-get install -y make lintian dpkg-dev gpg - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: @@ -102,12 +83,10 @@ jobs: build-rpm: runs-on: ubuntu-latest needs: build-release -# container: -# image: mono:latest steps: - uses: actions/checkout@v4 - name: Installing rpm build dependencies - run: sudo apt-get install -y createrepo + run: sudo apt-get install -y createrepo-c - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: