Skip to content

Commit

Permalink
Update run_release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelbaker-cisa authored Feb 2, 2024
1 parent 83b794b commit 11d85d3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/run_release.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
on:
workflow_dispatch:
inputs:
releaseName:
description: "Release Name"
required: true
type: string
version:
description: "Release version (e.g., 1.1.0)"
required: true
Expand All @@ -13,15 +9,12 @@ on:
name: Build Release

jobs:
build:
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup release version
run: echo ${{ github.ref_name }}

- name: Build
run: git ls-files | zip LME-${{ inputs.version }}.zip -@

Expand All @@ -33,7 +26,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ inputs.releaseName }}
name: "LME v${{ inputs.version }}"
tag_name: v${{ inputs.version }}
files: LME-${{ inputs.version }}.zip
draft: true
Expand Down

0 comments on commit 11d85d3

Please sign in to comment.