Skip to content

Commit

Permalink
custom gh releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jun 11, 2024
1 parent e7a3d32 commit 5573680
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,12 @@ jobs:
name: installer-x86_64-linux
path: ./iso/x86_64-linux

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload ISO (x86_64)
uses:
softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: List files
run: ls -la

- name: Upload ISO (x86_64)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./iso/x86_64-linux
asset_name: kolyma-installer-x86_64.iso
asset_content_type: application/octet-stream
make_latest: true
generate_release_notes: true
files: ./iso/x86_64-linux/kolyma-installer-x86_64.iso

0 comments on commit 5573680

Please sign in to comment.