-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (34 loc) · 1.12 KB
/
create-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Release
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Create package
id: create-package
run: |
filepath=release/talo-godot-${{ github.ref_name }}.zip
echo "filepath=$filepath" >> $GITHUB_OUTPUT
mkdir release
zip -r $filepath addons/talo
- name: Upload to itch
uses: manleydev/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: plugin
ITCH_GAME: talo-godot
ITCH_USER: sleepystudios
PACKAGE: ${{ steps.create-package.outputs.filepath }}
VERSION: ${{ github.ref_name }}
- name: Create release
uses: softprops/action-gh-release@v2
if: "!contains(github.event.head_commit.message, '--no-release')"
with:
generate_release_notes: true
prerelease: ${{ contains(github.event.head_commit.message, 'pre.') }}
files: release/*.zip