Skip to content

Commit

Permalink
Revert "Tag to release (#2612)" (#2635)
Browse files Browse the repository at this point in the history
This reverts commit 1a9e415.
  • Loading branch information
Benjozork authored Dec 23, 2020
1 parent 652bc19 commit ed82b1a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: release
# Trigger on release creation
on:
push:
tags:
- 'v*'
release:
types:
- created

jobs:
build:
Expand All @@ -22,22 +22,12 @@ jobs:
run: |
mkdir ./${{ env.BUILD_DIR_NAME }}
zip -r ./${{ env.BUILD_DIR_NAME }}/${{ env.RELEASE_ZIP_NAME }} ./A32NX/
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Upload release asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./${{ env.BUILD_DIR_NAME }}/${{ env.RELEASE_ZIP_NAME }}
asset_name: ${{ env.RELEASE_ZIP_NAME }}
asset_content_type: application/zip
Expand Down

0 comments on commit ed82b1a

Please sign in to comment.