Skip to content

Commit

Permalink
remove hub install from action
Browse files Browse the repository at this point in the history
  • Loading branch information
sriv authored Dec 30, 2020
1 parent 41e7020 commit 98d164f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install hub
uses: geertvdc/setup-hub@master

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ function package() {
checkCommand "dotnet"
checkCommand "zip"
rm -rf deploy artifacts
if [[ "$(dotnet --version)" == *"3"* ]]; then
dotnet publish -c release -o ./deploy/bin src/Gauge.Dotnet.csproj
else
if [[ "$(dotnet --version)" == *"2"* ]]; then
dotnet publish -c release -o ../deploy/bin src/Gauge.Dotnet.csproj
else
dotnet publish -c release -o ./deploy/bin src/Gauge.Dotnet.csproj
fi
cp src/launcher.sh deploy
cp src/launcher.cmd deploy
Expand Down

0 comments on commit 98d164f

Please sign in to comment.