Folder missing in artifact - GitHub Actions

user989988

I have the following steps to copy files to artifact and publish artifact:

   - name: copy FA function arm templates
     run: Copy 'Service/Project/Hosts/FA/Infrastructure/' 'upload/functions_arm_templates/FA/Infrastructure'
     shell: powershell
       
   - name: copy FB function arm templates
     run: Copy 'Service/Project/Hosts/FB/Infrastructure/' 'upload/functions_arm_templates/FB/Infrastructure'
     shell: powershell
    
   - name: publish artifact
     uses: actions/upload-artifact@v2
     with:
       name: ${{github.run_number}}
       path: upload/**

The Build succeeded however after downloading the artifact, I don't see a folder named functions_arm_templates. What am I missing?

riQQ

You are only copying the folder without its contents.

Use copy 'Service/Project/Hosts/FA/Infrastructure/' 'upload/functions_arm_templates/FA/Infrastructure/' -recurse to copy the folder with its contents.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

How to set secrets in Github Actions?

Will a github token leak when running github actions

/opt folder missing in Ubuntu 14.04

Github Actions .Net 설정 전송

Why some GitHub actions stopped executing?

Spring MVC 프로젝트에서 'Missing artifact'및 'Failed to read artifact descriptor'오류

Некоторые проверки не были успешными, поэтому действие GitHub дает сбой и запрашивает «Запустить mypy --ignore-missing-import»

How to push entire React folder to github?

Get the latest workflow run from GitHub Actions using the Octokit API

GitHub Actions 在 PR 合併時運行兩次

如何使 GitHub Actions 工作流程變乾

GitHub Actions CI의 캐시 적중률 0.00%

Github Actions 매트릭스 질문

如何在 Github Actions 中設置 Rubocop

GitHub Actions - *一些*空的環境秘密

Github-actions: cache repo to speed up maven builds

분기가 PR에 사용한 Github Actions

What does ubuntu-latest mean for GitHub Actions?

PHP / Github Actions workflows: how to provide secrets in $_ENV

Springboot 프로젝트 Eclipse에서 오류 Maven Depedency (Missing Artifact-)

Setting program logo in Unity launcher - missing icons folder

__DIR__ only returns part of the path in Laravel - missing one folder

How to delete folder and files in the destination that are missing in the source (before copying)?

GitHub Actions 자동 승인이 GitHub Actions 봇에서 생성한 pull 요청에서 작동하지 않음

Get the latest update time of a specific folder in a repo using Github API

다른 저장소로 Github Actions 릴리스

GitHub Actions의 행렬이란 무엇입니까?

GitHub Actions CI / CD에서 Flutter를 빌드하는 방법

Windows에서 Github Actions를 사용한 Python 테스트

TOP 리스트

  1. 1

    Ionic 2 로더가 적시에 표시되지 않음

  2. 2

    JSoup javax.net.ssl.SSLHandshakeException : <url>과 일치하는 주체 대체 DNS 이름이 없습니다.

  3. 3

    std :: regex의 일관성없는 동작

  4. 4

    Xcode10 유효성 검사 : 이미지에 투명성이 없지만 여전히 수락되지 않습니까?

  5. 5

    java.lang.UnsatisfiedLinkError : 지정된 모듈을 찾을 수 없습니다

  6. 6

    rclone으로 원격 디렉토리의 모든 파일을 삭제하는 방법은 무엇입니까?

  7. 7

    상황에 맞는 메뉴 색상

  8. 8

    SMTPException : 전송 연결에서 데이터를 읽을 수 없음 : net_io_connectionclosed

  9. 9

    정점 셰이더에서 카메라에서 개체까지의 XY 거리

  10. 10

    Windows cmd를 통해 Anaconda 환경에서 Python 스크립트 실행

  11. 11

    다음 컨트롤이 추가되었지만 사용할 수 없습니다.

  12. 12

    C #에서 'System.DBNull'형식의 개체를 'System.String'형식으로 캐스팅 할 수 없습니다.

  13. 13

    JNDI를 사용하여 Spring Boot에서 다중 데이터 소스 구성

  14. 14

    Cassandra에서 버전이 지정된 계층의 효율적인 모델링

  15. 15

    복사 / 붙여 넣기 비활성화

  16. 16

    Android Kotlin은 다른 활동에서 함수를 호출합니다.

  17. 17

    Google Play Console에서 '예기치 않은 오류가 발생했습니다. 나중에 다시 시도해주세요. (7100000)'오류를 수정하는 방법은 무엇입니까?

  18. 18

    SQL Server-현명한 데이터 문제 받기

  19. 19

    Seaborn에서 축 제목 숨기기

  20. 20

    ArrayBufferLike의 typescript 정의의 깊은 의미

  21. 21

    Kubernetes Horizontal Pod Autoscaler (HPA) 테스트

뜨겁다태그

보관