Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
apratimshukla6 authored Sep 21, 2023
1 parent 88d0d62 commit 60e4723
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,17 @@ jobs:
echo "::set-output name=tag::$TAG_NAME"
id: create_tag

- name: Organize Build Contents
run: |
mkdir -p build/release
find build -maxdepth 1 -type f -exec mv {} build/release \;
shell: bash

- name: Create ZIP Archive
run: |
zip -r build.zip build/release/
cd build
zip -r build.zip .
shell: bash

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: ./build.zip
files: ./build/build.zip
tag_name: ${{ steps.create_tag.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 60e4723

Please sign in to comment.