Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mx2rel authored Mar 13, 2024
1 parent b1f01b8 commit 0550c6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ jobs:
$certificatePath = "GitHubActionsWorkflow.pfx"
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
# Replace URL in code
- name: Replace URL in code
run: |
for file in $(find VulcanForWindows/Classes/VulcanGradesDb -name '*.cs'); do
sed -i "s|Properties.Resources.ClassmatesGradesServerUrl|${{ secrets.CLASSMATES_GRADES_SERVER_URL }}|g" "$file"
done
# Create the app package by building and packaging the project
- name: Create the app package
run: msbuild $env:Solution_Name /p:Configuration=$env:Configuration /p:Platform=$env:Platform /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:AppxPackageDir="$env:Appx_Package_Dir" /p:GenerateAppxPackageOnBuild=true
Expand Down

0 comments on commit 0550c6e

Please sign in to comment.