Update CI.yml

This commit is contained in:
AdityaGarg8 2021-11-20 13:50:43 +05:30 committed by GitHub
parent 3fbc0dd504
commit 9c37d2ecb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -40,11 +40,11 @@ jobs:
EOF
- name: Release
if: github.ref == 'refs/heads/test'
if: github.ref == 'refs/heads/master'
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/*.iso
tag_name: v20.04-${{ steps.tag.outputs.tag }}-test
draft: true
tag_name: v20.04-${{ steps.tag.outputs.tag }}
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}