mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-07 07:34:30 +08:00
Updating release-package workflow [skip ci]
This commit is contained in:
7
.github/workflows/release-package.yml
vendored
7
.github/workflows/release-package.yml
vendored
@@ -24,17 +24,16 @@ jobs:
|
||||
- name: Build Precompiled Application
|
||||
run: msbuild Orchard.proj /m /v:minimal /t:Precompiled
|
||||
|
||||
- name: Compress Precompiled Application
|
||||
id: compress
|
||||
- name: Generate Release Package Name
|
||||
id: package-name
|
||||
shell: pwsh
|
||||
run: |
|
||||
$packageName = "Orchard-$('${{ github.ref_name }}'.Replace('/', '_'))-${{ github.sha }}"
|
||||
# Compress-Archive -Path '.\build\Precompiled\*' -CompressionLevel 'Fastest' -DestinationPath ".\$($packageName).zip"
|
||||
"package-name=$packageName" >> $Env:GITHUB_OUTPUT
|
||||
|
||||
- name: Upload Release Package
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: ${{ steps.compress.outputs.package-name }}
|
||||
name: ${{ steps.package-name.outputs.package-name }}
|
||||
path: .\build\Precompiled
|
||||
if-no-files-found: error
|
||||
|
Reference in New Issue
Block a user