mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-10-09 08:56:12 +00:00
Merge pull request #1 from Apostles1/Apostles1-patch-1
Create release build.yml
This commit is contained in:
commit
0fa549173d
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