mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 02:37:31 +02:00
Merge pull request #3 from david-cermak/feature/upload_components
Added actions to upload components and sync issues
This commit is contained in:
21
.github/workflows/sync_issues.yml
vendored
Normal file
21
.github/workflows/sync_issues.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Sync issue comments to JIRA
|
||||||
|
|
||||||
|
# This workflow will be triggered when new issue is created
|
||||||
|
# or a new issue/PR comment is created
|
||||||
|
on: [issues, issue_comment]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync_issue_comments_to_jira:
|
||||||
|
name: Sync Issue Comments to Jira
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Sync issue comments to JIRA
|
||||||
|
uses: espressif/github-actions/sync_issues_to_jira@master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
JIRA_PASS: ${{ secrets.JIRA_PASS }}
|
||||||
|
JIRA_PROJECT: IDFGH
|
||||||
|
JIRA_COMPONENT: esp-protocols
|
||||||
|
JIRA_URL: ${{ secrets.JIRA_URL }}
|
||||||
|
JIRA_USER: ${{ secrets.JIRA_USER }}
|
21
.github/workflows/upload_component.yml
vendored
Normal file
21
.github/workflows/upload_component.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Push components to Espressif Component Service
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
upload_components:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Upload components to component service
|
||||||
|
uses: espressif/github-actions/upload_components@master
|
||||||
|
with:
|
||||||
|
directories: "components/esp_modem"
|
||||||
|
name: "esp_modem"
|
||||||
|
namespace: "espressif"
|
||||||
|
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
|
||||||
|
|
Reference in New Issue
Block a user