main
bipinkrish 2023-02-23 14:04:14 +05:30
parent 6b14670709
commit e3b5f8fbe8
1 changed files with 19 additions and 17 deletions

View File

@ -1,3 +1,5 @@
name: Release
on: on:
workflow_dispatch: workflow_dispatch:
@ -8,25 +10,25 @@ steps:
run: ls -R run: ls -R
- name: release - name: release
uses: actions/create-release@v1 uses: actions/create-release@v1
id: create_release id: create_release
with: with:
draft: false draft: false
prerelease: false prerelease: false
release_name: Latest Release release_name: Latest Release
tag_name: ${{ github.ref }} tag_name: ${{ github.ref }}
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
- name: upload linux artifact - name: upload linux artifact
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: .*.bin asset_path: .*.bin
asset_name: DeGourou asset_name: DeGourou
asset_content_type: application/gzip asset_content_type: application/gzip
# - name: upload darwin artifact # - name: upload darwin artifact
# uses: actions/upload-release-asset@v1 # uses: actions/upload-release-asset@v1