Skip to content

Commit

Permalink
Cleanup artifact names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanb58 committed Jul 5, 2023
1 parent 4f9e9dd commit d2d6380
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/auto-export-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
# Reconstruct the version
$newVersion = "{0}.{1}.{2}.{3}" -f $versionParts[0], $versionParts[1], $versionParts[2], $patch
echo "::set-output name=new_version::$newVersion"
$newVersionWithUnderscores = "{0}_{1}_{2}_{3}" -f $versionParts[0], $versionParts[1], $versionParts[2], $patch
echo "::set-output name=new_version_with_underscores::$newVersionWithUnderscores"
- name: Increment the online version
run: pac solution online-version --solution-name "${{ github.event.inputs.solution_name }}" --solution-version ${{ steps.solution_versioning.outputs.new_version }}
Expand All @@ -76,14 +78,14 @@ jobs:
- name: Publish unmanaged artifact
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.inputs.solution_name }}_unmanaged
path: ${{ github.event.inputs.solution_name }}_unmanaged.zip
name: ${{ github.event.inputs.solution_name }}_${{ steps.solution_versioning.outputs.new_version_with_underscores }}_unmanaged
path: ${{ github.event.inputs.solution_name }}_${{ steps.solution_versioning.outputs.new_version_with_underscores }}_unmanaged.zip

- name: Publish managed artifact
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.inputs.solution_name }}
path: ${{ github.event.inputs.solution_name }}.zip
name: ${{ github.event.inputs.solution_name }}_${{ steps.solution_versioning.outputs.new_version_with_underscores }}_managed
path: ${{ github.event.inputs.solution_name }}_${{ steps.solution_versioning.outputs.new_version_with_underscores }}_managed.zip

- name: Deploy To Target Environment
run: |
Expand Down

0 comments on commit d2d6380

Please sign in to comment.