File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 2525 with :
2626 dotnet-version : ' 9.x'
2727
28- - name : Build AppRegistrationSecretWatcher functions
29- run : dotnet build
28+ - name : Build AppRegistrationSecretWatcher Azure Functions
29+ run : dotnet publish
3030 --property:Configuration=Release
3131 --property:VersionPrefix=${{ github.event.inputs.VersionPrefix }}
3232 --property:VersionSuffix=${{ github.event.inputs.VersionSuffix }}
33- " src/Functions/Functions.csproj"
33+ --output ./publish
34+ " src/Functions/Functions.csproj"
35+
36+ - name : Package the AppRegistrationSecretWatcher Azure Functions
37+ run : cd ./publish && zip -r ../PosInformatique.Azure.Identity.AppRegistrationSecretWatcher.zip .
38+
39+ - name : Upload to release
40+ uses : softprops/action-gh-release@v1
41+ with :
42+ tag_name : v${{ github.event.inputs.VersionPrefix }}${{ github.event.inputs.VersionSuffix && format('-{0}', github.event.inputs.VersionSuffix) || '' }}
43+ files : functionapp.zip
44+ overwrite : true
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments