From 32e9679dd73c7004823f31b0a0734d402d0c0a69 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Mon, 17 May 2021 10:51:20 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Don't=20collect=20release=20arti?= =?UTF-8?q?facts=20anymore=20for=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unnecessary space and compute usage. --- .github/workflows/release-artifacts.yml | 43 ------------------------- .netconfig | 4 +-- SmallSharp.sln | 1 - 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 .github/workflows/release-artifacts.yml diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml deleted file mode 100644 index 17d4e0b..0000000 --- a/.github/workflows/release-artifacts.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Builds a release version of the project and uploads -# as artifacts of the release for verification/history - -name: release-artifacts -on: - release: - types: [published] - -jobs: - release-artifacts: - runs-on: ubuntu-latest - steps: - - name: ๐Ÿค˜ checkout - uses: actions/checkout@v2 - with: - submodules: recursive - fetch-depth: 0 - - - name: ๐Ÿท current - run: echo "CURRENT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - - name: ๐Ÿ™ build - run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} - - - name: ๐Ÿงช test - run: dotnet test --no-build -m:1 - - - name: ๐Ÿ“ฆ pack - run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v} - - - name: ๐Ÿ”ฝ gh - run: | - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0 - sudo apt-add-repository https://cli.github.com/packages - sudo apt update - sudo apt install gh - - - name: ๐Ÿ”ผ artifacts - shell: pwsh - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - gci .\bin -Recurse -Filter *.nupkg | %{ gh release upload --clobber $env:CURRENT_TAG $_ } \ No newline at end of file diff --git a/.netconfig b/.netconfig index 64bd242..29d81b9 100644 --- a/.netconfig +++ b/.netconfig @@ -55,9 +55,7 @@ sha = 55c0b32601e94e1eed35028a0cad510c6bcbb265 [file ".github/workflows/release-artifacts.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-artifacts.yml - etag = 53f2dd2465fd15a065828468139544449ab7ccc0ba40f9074d7ac92426bfd07b - weak - sha = 55c0b32601e94e1eed35028a0cad510c6bcbb265 + skip [file ".github/workflows/release-notes.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml etag = c987e5b93b002c5a2a63304f677eb969b7b6e274b77ef4392aeef4d9ca7e10dd diff --git a/SmallSharp.sln b/SmallSharp.sln index 6640e99..98263f1 100644 --- a/SmallSharp.sln +++ b/SmallSharp.sln @@ -20,7 +20,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{ .github\workflows\changelog.yml = .github\workflows\changelog.yml .github\workflows\pages.yml = .github\workflows\pages.yml .github\workflows\publish.yml = .github\workflows\publish.yml - .github\workflows\release-artifacts.yml = .github\workflows\release-artifacts.yml .github\workflows\release-notes.yml = .github\workflows\release-notes.yml .github\workflows\sponsors.ps1 = .github\workflows\sponsors.ps1 .github\workflows\sponsors.yml = .github\workflows\sponsors.yml