Skip to content

Commit 88cae37

Browse files
authored
Modify CI workflow to create artifact directory
Updated CI_release.yml to create artifact directory and adjust paths.
1 parent 4c39e26 commit 88cae37

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/CI_release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ pool:
22
vmImage: 'ubuntu-latest'
33

44
variables:
5-
ARTIFACT_DIR: $(Build.ArtifactStagingDirectory)
5+
STAGING_DIR: $(Build.ArtifactStagingDirectory)
6+
ARTIFACT_DIR: '$(STAGING_DIR)/vsix'
7+
68

79
stages:
810
- stage: BuildAndPackage
@@ -27,6 +29,14 @@ stages:
2729
command: 'custom'
2830
customCommand: 'run package'
2931

32+
- script: |
33+
mkdir -p "$ARTIFACT_DIR"
34+
echo "Created folder: $ARTIFACT_DIR"
35+
displayName: 'Create directory on Linux'
36+
env:
37+
ARTIFACT_DIR: $(ARTIFACT_DIR)
38+
39+
3040
- script: |
3141
echo "Artifact dir is $ARTIFACT_DIR"
3242
echo "esrpConnectionName dir is $ESRP_CONNECTION_NAME"
@@ -66,3 +76,4 @@ stages:
6676

6777

6878

79+

0 commit comments

Comments
 (0)