Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove hub install from action #141

Merged
merged 2 commits into from
Dec 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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