Template
This commit is contained in:
@@ -32,14 +32,14 @@ jobs:
|
||||
- name: Build the package
|
||||
run: dotnet build
|
||||
- name: Publish the package
|
||||
run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }},Version=$next_version,FileVersion=$next_version,AssemblyVersion=$next_version,InformationalVersion=$next_version --self-contained false --runtime ${{ RUNTIME }}
|
||||
run: dotnet publish -p:PublishSingleFile=true,AssemblyName=${{ vars.EXECUTABLE_NAME }},Version=$next_version,FileVersion=$next_version,AssemblyVersion=$next_version,InformationalVersion=$next_version --self-contained false --runtime ${{ vars.RUNTIME }}
|
||||
|
||||
- name: List all files
|
||||
run: |
|
||||
find /workspace
|
||||
|
||||
- name: copy the release before compression
|
||||
run: cp -r /workspace/pi-ux-ce/${{ github.event.repository.name }}/bin/Release/${{ vars.TARGET_FRAMEWORK }}/${{ RUNTIME }}/publish/ .
|
||||
run: cp -r /workspace/pi-ux-ce/${{ github.event.repository.name }}/bin/Release/${{ vars.TARGET_FRAMEWORK }}/${{ vars.RUNTIME }}/publish/ .
|
||||
- uses: montudor/action-zip@v1
|
||||
with:
|
||||
args: zip -qq -r ${{ github.event.repository.name }}.zip publish/
|
||||
|
||||
Reference in New Issue
Block a user