-
-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (52 loc) · 1.71 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
name: release-plugin
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/**'
- 'README.md'
- 'LICENSE'
branches:
- master
jobs:
release-plugin:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Versioning
uses: ./.github/actions/version
with:
prerelease: ${{ github.ref != 'refs/heads/master' }}
- name: Package Plugin - 5.2
uses: ./.github/actions/package
with:
engineVersion: '5.2'
releaseVersion: ${{ steps.gitversion.outputs.semVer }}
epicGamesDirectory: ${{ secrets.EPIC_GAMES_DIRECTORY }}
launcherDirectory: ${{ secrets.LAUNCHER_DIRECTORY }}
- name: Package Plugin - 5.3
uses: ./.github/actions/package
with:
engineVersion: '5.3'
releaseVersion: ${{ steps.gitversion.outputs.semVer }}
epicGamesDirectory: ${{ secrets.EPIC_GAMES_DIRECTORY }}
launcherDirectory: ${{ secrets.LAUNCHER_DIRECTORY }}
- name: Package Plugin - 5.4
uses: ./.github/actions/package
with:
engineVersion: '5.4'
releaseVersion: ${{ steps.gitversion.outputs.semVer }}
epicGamesDirectory: ${{ secrets.EPIC_GAMES_DIRECTORY }}
launcherDirectory: ${{ secrets.LAUNCHER_DIRECTORY }}
- name: Create Release
uses: ncipollo/release-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
artifacts: '${{ runner.temp }}/output/*.zip'
tag: ${{ env.GitVersion_SemVer }}
commit: ${{ github.sha }}
prerelease: ${{ github.ref != 'refs/heads/master' }}