Use the millions of open source libraries available on GitHub to create your own actions. Write them in JavaScript or create a container action—both can interact with the full GitHub API and any other public AP
-name:Clonesourcecoderun:|gitclonehttps://github.com/openwrt/openwrt TIPS: 如果是有源码的仓库,可以引用actions/checkout这个官方 action 把源码签出到工作目录中。工作目录也就是在 Actions 中执行命令的根目录,其绝对路径为/home/runner/work/REPO_NAME/REPO_NAME,环境变量为$GITHUB_WORKSPACE。 然...
Checkout source code uses: actions/checkout@main - name: Login to Azure uses: azure/login@v1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Deploy ARM Template uses: azure/arm-deploy@v1 with: scope: resourcegroup subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID...
Actions Projects Wiki Security Insights Additional navigation options master 3Branches0Tags Code Folders and files Name Last commit message Last commit date Latest commit jricher Merge pull request#60from task4233/fix/deletion-part-for-dynamic-re… ...
Checkout source code 使用GitHub Actions 签出操作克隆存储库。 ACR build使用Azure 容器注册表生成操作生成映像并将其上传到注册表。 Azure login 使用Azure 登录操作登录 Azure 帐户。 Set AKS context 使用Azure AKS 设置上下文操作为 AKS 群集设置上下文。
GitHub Actions 简介 GitHub Actions是GitHub上的一个自动化服务,你可以把脚本放到上面,当特定事件发生时,自动执行你的脚本。 以Upptime来说,预设是每隔五分钟访问你的网站一次(实际上由于GitHub的限制,间隔可能会更长),同时也会记录每次的response time,让你在页面上看历史纪录等等。
steps: - name: My first step uses: octo-org/action-name@main - name: My backup step if: ${{ failure() }} uses: actions/heroku@1.0.0 jobs.<job_id>.steps[*].name 步骤显示在 GitHub 上的名称。 jobs.<job_id>.steps[*].uses 选择要作为作业中步骤的一部分运行的操作。 操作是一种可...
Azure DevOps Pipelines Circle CI GitHub Actions GitLab CI/CD Jenkins Integrating Docker Scout with environments Source code management Team collaboration Release notes Docker for GitHub Copilot EA Docker Extensions Testcontainers Cloud Deprecated products and features Release lifecycle Platform Admini...
Viewing an action's source code Integrating with GitHub Actions Tutorial: Lint code using a GitHub Action Adding the 'GitHub Actions' action Adding a curated GitHub Action Exporting GitHub output parameters Referencing GitHub output parameters YAML - 'GitHub Actions' action Configuring compute and run...
runs.using for JavaScript actions Required The runtime used to execute the code specified in main. Use node20 for Node.js v20. runs.main Required The file that contains your action code. The runtime specified in using executes this file. runs.pre Optional Allows you to run a script ...