-
Notifications
You must be signed in to change notification settings - Fork 9
58 lines (55 loc) · 2.34 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
54
55
56
57
58
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 tag
id: tag
run: echo "tag=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
- name: Set the version
id: version
run: echo "version=$(date +'%Y%m%d.%H%M')" >> $GITHUB_OUTPUT
- 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: Mirror sync
run: |
set -e
make mirrors-sync
- name: Create a release snapshot.
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.tag.outputs.tag }}"
body: |
## Downloads
This release contains a snapshot of the repository tree and a list of packages and their versions in this release. Downloadable images are available at [SteamFork.org](https://www.steamfork.org/images/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/installer/steamfork-rel-latest-x86_64.iso) | [SHA256](https://www.steamfork.org/images/installer/steamfork-rel-latest-x86_64.iso.sha256) |
| Mirror 1 | [LATEST](https://www2.steamfork.org/images/installer/steamfork-rel-latest-x86_64.iso) | [SHA256](https://www2.steamfork.org/images/installer/steamfork-rel-latest-x86_64.iso.sha256) ||
| Mirror 2 | [LATEST](https://www3.steamfork.org/images/installer/steamfork-rel-latest-x86_64.iso) | [SHA256](https://www3.steamfork.org/images/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
artifacts: release/images/rel/images/package-versions.txt
draft: false
token: ${{ secrets.GITHUB_TOKEN }}
owner: SteamFork
repo: distribution