Skip to content

Commit

Permalink
use different release module
Browse files Browse the repository at this point in the history
  • Loading branch information
clbx committed Jan 12, 2024
1 parent cd0bf61 commit d35f019
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,7 @@ jobs:

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
artifacts: "kubectl-browse-pvc-darwin.zip,kubectl-browse-pvc-linux.zip"

- name: Upload Darwin artifact to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./kubectl-browse-pvc-darwin.zip
asset_name: kubectl-browse-pvc-darwin.zip
asset_content_type: application/zip

- name: Upload Linux artifact to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./kubectl-browse-pvc-linux.zip
asset_name: kubectl-browse-pvc-linux.zip
asset_content_type: application/zip

0 comments on commit d35f019

Please sign in to comment.