-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (31 loc) · 941 Bytes
/
Copy pathcompile_release.yml
File metadata and controls
34 lines (31 loc) · 941 Bytes
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
name: "compile"
# Run only manually for now
on:
workflow_dispatch
jobs:
pre-release:
name: "Release"
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
# ..
- name: "Checkout repo"
uses: actions/checkout@v3
- name: "Substituting Gothic 2 NotR Localizations..."
run: |
.scripts/release.sh
- name: Generate release tag
id: generate_release_tag
uses: amitsingh-007/next-release-tag@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag_prefix: ''
tag_template: 'dd.mm.yyyy.i'
- name: "Release"
uses: ncipollo/release-action@v1
with:
artifacts: "release/release/*.zip"
bodyFile: ".scripts/body.md"
tag: ${{ steps.generate_release_tag.outputs.next_release_tag }}
name: Release ${{ steps.generate_release_tag.outputs.next_release_tag }}