mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2025-02-22 01:35:26 +00:00
remove workflow
This commit is contained in:
parent
aa6317c79e
commit
12522667d3
62
.github/workflows/release.yml
vendored
62
.github/workflows/release.yml
vendored
@ -1,62 +0,0 @@
|
||||
name: Build and Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up GCC
|
||||
uses: egor-tensin/setup-mingw@v2.2.0
|
||||
with:
|
||||
version: 13.2.0
|
||||
|
||||
- name: Build
|
||||
run: make
|
||||
|
||||
- name: Archive build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: vmrcli
|
||||
path: ./bin/vmrcli.exe
|
||||
|
||||
release:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4.1.7
|
||||
with:
|
||||
name: vmrcli
|
||||
- name: Display structure of downloaded files
|
||||
run: tree
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: Upload Release Asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./bin/vmrcli.exe
|
||||
asset_name: vmrcli.zip
|
||||
asset_content_type: application/zip
|
Loading…
Reference in New Issue
Block a user