Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteninja76 authored Jan 16, 2024
1 parent 1405ed2 commit d154285
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,8 @@ jobs:
- name: Create release folder
run: |
mkdir -p release && ls && rsync -r . --exclude=release --exclude=node_modules --exclude=cdktf.out --exclude=manifest.json release && ls release
- name: Create a release zip
uses: actions/github-script@v6
with:
script: |
const release = await github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: "${{ github.ref_name }}",
generate_release_notes: true,
});
- name: Create release zip
run: |
zip -r platform-status.zip manifest.json release/* ".github"
debug: true
result-encoding: "json"

0 comments on commit d154285

Please sign in to comment.