-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (49 loc) · 1.81 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
name: Release
permissions:
contents: write
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
build:
timeout-minutes: 1440
runs-on: main
steps:
- uses: actions/checkout@v4
name: checkout
with:
clean: false
ref: "${{ steps.branch.outputs.branch }}"
- name: Set the version
id: version
run: echo "version=$(date +'%Y%m%d.%H%M.%S')" >> $GITHUB_OUTPUT
- name: Build Minimal Images
run: |
set -e
make image minimal BUILD_VER="${{ steps.version.outputs.version }}"
- name: Build Release Images
run: |
set -e
make image rel BUILD_VER="${{ steps.version.outputs.version }}"
- name: Image sync
run: |
set -e
make images-sync
- name: Create a release snapshot.
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.version.outputs.version }}"
body: |
## Downloads
This release contains a snapshot of the repository tree. Downloadable images are available at [SteamFork.org](https://www.steamfork.org/images/steamfork-installer/) with updates available OTA. A download link to the latest installation image can be found below.
| Branch | URL | Checksum |
| -- | -- | -- |
| Stable | [LATEST](https://www.steamfork.org/images/steamfork-installer/steamfork-rel-latest-x86_64.iso) | [CHECKSUM](https://www.steamfork.org/images/steamfork-installer/steamfork-rel-latest-x86_64.iso.sha256) |
For installation instructions and other documentation, visit the [main project page](https://github.com/SteamFork).
prerelease: false
draft: false
token: ${{ secrets.GITHUB_TOKEN }}
owner: SteamFork
repo: distribution