Replace deprecated set-output
command with environment file
#176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run commands when issues are labeled or comments added | |
on: | |
issues: | |
types: [labeled, opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
bot: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@v2 | |
with: | |
repository: "oam-dev/kubevela-github-actions" | |
path: ./actions | |
ref: v0.4.2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
cache: 'npm' | |
cache-dependency-path: ./actions/package-lock.json | |
- name: Install Dependencies | |
run: npm ci --production --prefix ./actions | |
- name: Run Commands | |
uses: ./actions/commands | |
with: | |
token: ${{secrets.VELA_BOT_TOKEN}} | |
configPath: issue-commands |