Skip to content

Commit

Permalink
Reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 15, 2024
1 parent 96853c6 commit 2f1a9f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,13 @@ runs:
with:
TOOL_NAME: FunFair.Content.Packager.Cmd
TOOL_VERSION: ${{inputs.NPM_PRODUCTION_PACKAGER_VERSION}}
NUGET_SOURCE: 'https://dotnet-nuget.s3.eu-west-1.amazonaws.com/index.json'

- name: "Install Package Store Signer"
if: steps.check_files.outputs.NPM_EXIST == 'true' && steps.check_files.outputs.NPM_SIGNING_EXIST == 'true'
uses: ./.github/actions/dotnet-tool
with:
TOOL_NAME: FunFair.Content.PackageSigner.Cmd
TOOL_VERSION: ${{inputs.NPM_PRODUCTION_PACKAGER_VERSION}}
NUGET_SOURCE: 'https://dotnet-nuget.s3.eu-west-1.amazonaws.com/index.json'

- name: "Create Release Notes"
if: steps.build_tools.outputs.BUILD_ENV == 'true'
Expand Down
12 changes: 2 additions & 10 deletions .github/actions/dotnet-tool/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ inputs:
description: 'Tool version to install'
required: false
default: 'latest'
NUGET_SOURCE:
description: 'Nuget source'
required: false
default: 'https://api.nuget.org/v3/index.json'

runs:
using: "composite"
Expand All @@ -23,10 +19,8 @@ runs:
shell: bash
run: |
dotnet tool install \
--global \
--local \
--no-http-cache \
--framework "$(dotnet --list-sdks | cut -f 1 -d " " | grep "^[0-9]*\.[0-9]*\.[0-9]*$" | sort | tail -1)" \
--source "${{inputs.NUGET_SOURCE}}" \
"${{inputs.TOOL_NAME}}"
env:
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
Expand All @@ -47,10 +41,8 @@ runs:
shell: bash
run: |
dotnet tool install \
--global \
--local \
--no-http-cache \
--framework "$(dotnet --list-sdks | cut -f 1 -d " " | grep "^[0-9]*\.[0-9]*\.[0-9]*$" | sort | tail -1)" \
--source "${{inputs.NUGET_SOURCE}}" \
"${{inputs.TOOL_NAME}}" \
--version ${{inputs.TOOL_VERSION}}
env:
Expand Down

0 comments on commit 2f1a9f3

Please sign in to comment.