# upload-artifact **Repository Path**: zzwactions/upload-artifact ## Basic Information - **Project Name**: upload-artifact - **Description**: 上传/覆盖制成品 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-02 - **Last Updated**: 2025-03-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # upload-artifact 用于上传/覆盖制成品到组织仓库的“软件包” Action 将根据 `${{ runner.os }}` 自动选择上传方式,支持 Windows、Linux }} ## Input 参数 - file_path: 包路径 - artifact_server: 包上传服务器 - artifact_owner: 包归属 - artifact_name: 包名称 - artifact_version: 包版本 - token_owner: 上传用户 - token_value: 上传密钥 ## 实例 ```yaml - name: Test-Upload uses: https://gitee.com/zzwactions/upload-artifact@v1 with: file_path: ./README.md artifact_server: ${{ gitea.server_url}} artifact_name: testdemo artifact_owner: ${{ gitea.repository_owner}} artifact_version: ${{ gitea.event_name == 'pull_request' && gitea.base_ref || gitea.ref_name }} token_owner: robot token_value: ${{ secrets.ROBOT_TOKEN_PACKAGE_OWNER }} ```