Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Dec 11, 2024
1 parent 8558282 commit 6f87eed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/EmployeePaycheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ env:
AZURE_WEBAPP_NAME: EmployeePaycheck
AZURE_WEBAPP_PACKAGE_PATH: EmployeePaycheck/published
CONFIGURATION: Release
DOTNET_CORE_VERSION: 7.0.x
DOTNET_CORE_VERSION: 9.0.x
WORKING_DIRECTORY: EmployeePaycheck
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_CORE_VERSION }}
- name: Restore
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Publish
run: dotnet publish "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} --no-build --output "${{ env.AZURE_WEBAPP_PACKAGE_PATH }}"
- name: Publish Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: webapp
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
Expand All @@ -36,7 +36,7 @@ jobs:
needs: build
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: webapp
path: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
Expand Down
1 change: 1 addition & 0 deletions EmployeePaycheck.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_solutionItmes", "_solutionItmes", "{47789FDB-AEBB-4C46-B7FD-5A44682F96B1}"
ProjectSection(SolutionItems) = preProject
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
.github\workflows\EmployeePaycheck.yml = .github\workflows\EmployeePaycheck.yml
README.md = README.md
EndProjectSection
EndProject
Expand Down

0 comments on commit 6f87eed

Please sign in to comment.