Skip to content

Commit

Permalink
remove some of the inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinagud committed Oct 28, 2024
1 parent 4d53e51 commit 3fcd940
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: 'build'
runs-on: ubuntu-latest
env:
RELEASE: ${{ github.event_name == 'push' && contains(inputs.branches || 'main,master', github.ref_name) }}
RELEASE: ${{ github.event_name == 'push' && contains('main,master', github.ref_name) }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
push: false
no-cache: true
context: .
file: ${{ inputs.dockerfile || 'Source/Dockerfile' }}
file: 'Source/Dockerfile'
secrets: |
NUGET_GITHUB_PACKAGES_USERNAME=${{ secrets.NUGET_GITHUB_PACKAGES_USERNAME }}
NUGET_GITHUB_PACKAGES_TOKEN=${{ secrets.NUGET_GITHUB_PACKAGES_TOKEN }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
with:
push: true
context: .
file: ${{ inputs.dockerfile || 'Source/Dockerfile' }}
file: 'Source/Dockerfile'
platforms: linux/amd64
tags: ${{ steps.references.outputs.tags }}
build-args: |
Expand All @@ -100,4 +100,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ steps.tag.outputs.new_tag }} --target=${{ github.sha }} --title="${{ inputs.component && format('{0} - ',inputs.component) || '' }}v${{ steps.tag.outputs.new_version }}" --notes="${{ steps.tag.outputs.changelog }}"
gh release create ${{ steps.tag.outputs.new_tag }} --target=${{ github.sha }} --title="v${{ steps.tag.outputs.new_version }}" --notes="${{ steps.tag.outputs.changelog }}"

0 comments on commit 3fcd940

Please sign in to comment.