Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove test env
Browse files Browse the repository at this point in the history
  • Loading branch information
gaiksaya committed Jan 9, 2021
1 parent 7c391f1 commit 612f516
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,52 +71,52 @@ jobs:
echo "Copying ${deb} to ${s3_prefix}${deb_outfile}"
aws s3 cp --quiet $deb ${s3_prefix}${deb_outfile}
# - name: Create Github Draft Release
# id: create_release
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ env.TAG_VERSION }}
# draft: true
# prerelease: false
- name: Create Github Draft Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ env.TAG_VERSION }}
draft: true
prerelease: false

# # Upload the release with .zip as asset
# - name: Upload Release Asset
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_name: alerting.zip
# asset_path: alerting-artifacts_zip
# asset_content_type: application/zip
# Upload the release with .zip as asset
- name: Upload Release Asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_name: alerting.zip
asset_path: alerting-artifacts_zip
asset_content_type: application/zip

# # Upload the release with .rpm as asset
# - name: Upload Release Asset
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_name: alerting.rpm
# asset_path: alerting-artifacts_rpm
# asset_content_type: application/zip
# Upload the release with .rpm as asset
- name: Upload Release Asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_name: alerting.rpm
asset_path: alerting-artifacts_rpm
asset_content_type: application/zip

# # Upload the release with .deb as asset
# - name: Upload Release Asset
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_name: alerting.deb
# asset_path: alerting-artifacts_deb
# asset_content_type: application/zip
# Upload the release with .deb as asset
- name: Upload Release Asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_name: alerting.deb
asset_path: alerting-artifacts_deb
asset_content_type: application/zip

# - name: Upload Workflow Artifacts
# uses: actions/upload-artifact@v1
# with:
# name: alerting-plugin
# path: alerting-artifacts
- name: Upload Workflow Artifacts
uses: actions/upload-artifact@v1
with:
name: alerting-plugin
path: alerting-artifacts

0 comments on commit 612f516

Please sign in to comment.