Skip to content

Commit 41f5b76

Browse files
authored
Merge pull request #3 from paddy-exe/add-CI
Add Funding info and CI support for releases
2 parents 233820f + d66e979 commit 41f5b76

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ko_fi: flamelizard

.github/workflows/release.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
name: Create Release
9+
10+
steps:
11+
12+
- name: Checkout project
13+
uses: actions/checkout@v3
14+
15+
- name: Move License
16+
shell: bash
17+
run: |
18+
mv LICENSE.md README.md ${{ github.workspace }}/addons/ShaderFunction-Extras
19+
20+
- name: Archive Release
21+
uses: thedoctor0/zip-release@0.7.1
22+
with:
23+
type: 'zip'
24+
filename: 'ShaderFunction-Extras.zip'
25+
path: '${{ github.workspace }}/addons/'
26+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
27+
28+
- name: Create and upload asset
29+
uses: ncipollo/release-action@v1
30+
with:
31+
allowUpdates: true
32+
artifacts: "ShaderFunction.zip"
33+
omitNameDuringUpdate: true
34+
omitBodyDuringUpdate: true
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)