mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-10-09 00:46:11 +00:00
Create release build.yml
release build
This commit is contained in:
parent
73ba93b5e4
commit
31a0ca07a3
1 changed files with 21 additions and 0 deletions
21
release build.yml
Normal file
21
release build.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Main
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Build
|
||||
run: echo ${{ github.sha }} > Release.txt
|
||||
- name: Test
|
||||
run: cat Release.txt
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
if: github.ref_type == 'tag'
|
||||
with:
|
||||
files: |
|
||||
Release.txt
|
||||
LICENSE
|
Loading…
Add table
Add a link
Reference in a new issue