Skip to content

Commit

Permalink
test with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed Mar 6, 2024
1 parent 12a70a1 commit 938c6a8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test Fix github release
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches:
- fix/github-release

workflow_dispatch: {}

jobs:
build:
runs-on: ubuntu-latest
environment: npm
permissions:
contents: write

steps:
- uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"

- run: npx @chronus/github create-releases --repo azure/typespec-azure --publish-summary ./report-summary-temp.json
name: Create github releases
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 938c6a8

Please sign in to comment.