Skip to content

Commit

Permalink
more changes to AI version of mvc yml
Browse files Browse the repository at this point in the history
  • Loading branch information
medhatelmasry committed Dec 5, 2024
1 parent f167d80 commit f662b0b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/mvc_tar_AI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: dotnet build --configuration Release

- name: dotnet publish
run: dotnet publish ./src/AccountGoWeb/AccountGoWeb.csproj -c Release -o ${{env.DOTNET_ROOT}}/myapp
run: dotnet publish ./src/AccountGoWeb/AccountGoWeb.csproj -c Release -o ${{runner.temp}}/myapp

- name: Archive production artifacts
run: |
Expand All @@ -34,10 +34,10 @@ jobs:
echo $dir
echo "++++++++++++++++++++++++ what's in current directory? ++++++++"
ls -al
echo "+++++ what's in the ${{env.DOTNET_ROOT}}/myapp directory? ++++"
ls -al ${{env.DOTNET_ROOT}}/myapp
echo "+++++ change directory to ${{env.DOTNET_ROOT}}/myapp ++++"
cd ${{env.DOTNET_ROOT}}/myapp
echo "+++++ what's in the ${{runner.temp}}/myapp directory? ++++"
ls -al ${{runner.temp}}/myapp
echo "+++++ change directory to ${{runner.temp}}/myapp ++++"
cd ${{runner.temp}}/myapp
echo "+++++++++++++++++++++++++ where am I? ++++++++++++++++++++++++"
pwd
echo "+++++++++++++++++++++++++ compress current directory and save in $dir/my_artifact.tar.gz ++++"
Expand All @@ -46,6 +46,7 @@ jobs:
cd $dir
echo "++++++++++++++++++++++++ what's in $dir directory? ++++++++"
ls -al
- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f662b0b

Please sign in to comment.