Skip to content

Commit

Permalink
ensure dist folder exists
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 8, 2024
1 parent a251784 commit f109786
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ runs:
run: |
[ ! -d "${{github.workspace}}/results" ] && mkdir "${{github.workspace}}/results" || echo "Results created"
- name: "Prepare dist folder"
working-directory: ${{github.workspace}}
shell: bash
run: |
[ ! -d "${{github.workspace}}/dist" ] && mkdir "${{github.workspace}}/dist" || echo "dist created"
- name: "Install Build tools"
uses: ./.github/actions/build-tools
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/actions/dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ runs:
shell: bash
run: |
shopt -s globstar
[ ! -d ../dist ] && mkdir ../dist
cp **/*.nupkg ../dist
cp **/*.nupkg "${{github.workspace}}/dist"
working-directory: ${{github.workspace}}/src

- name: "Dotnet: Publish Packages to Nuget (Without separate symbol feed)"
Expand Down
5 changes: 0 additions & 5 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ runs:
# core.notice('Cache Hit: ${{steps.npm-cache.outputs.cache-hit}}');
####################################################################################################################

- name: "NPM: Ensure dist folder exists"
shell: bash
run: |
[ ! -d ../dist ] && mkdir ../dist
- name: "NPM: Install dependencies"
working-directory: ${{github.workspace}}/src
shell: bash
Expand Down

0 comments on commit f109786

Please sign in to comment.