Skip to content

Commit f9b33ff

Browse files
author
benja2998
committed
chore: attempt to fix this workflow
1 parent 1da490a commit f9b33ff

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.forgejo/workflows/artifacts.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
# This workflow will upload binaries as release artifacts to Codeberg Actions.
2-
# Please note that only Linux binaries are uploaded. For Windows, please visit:
3-
# https://multitoolplusplus.codeberg.page/wiki/wiki/installing-dependencies.html#windows
4-
# https://multitoolplusplus.codeberg.page/wiki/wiki/building-multitool-with-cmake.html
5-
6-
# For macOS, please visit:
7-
# https://codeberg.org/multitoolplusplus/app/fork # you're on your own
8-
9-
name: Upload binaries as release artifacts
10-
11-
on:
12-
release:
13-
types: [published]
14-
jobs:
15-
build:
16-
runs-on: codeberg-tiny # Codeberg only has this runner, which runs Ubuntu.
17-
18-
steps:
19-
- name: Checkout code
20-
uses: actions/checkout@v2
21-
22-
- name: Build with CMake
23-
run: |
24-
sudo apt-get update
25-
sudo apt-get install -y cmake curl build-essential gcc
26-
mkdir -p build # In case it somehow exists already
27-
cd build
28-
cmake ..
29-
cmake --build .
30-
cd .. # Go back to repository root, to prevent the next step failing
31-
32-
- name: Upload binaries as action artifacts
33-
uses: actions/upload-artifact@v4
34-
with:
35-
name: pre-compiled binaries
36-
path: build
1+
# This workflow will upload binaries as release artifacts to Codeberg Actions.
2+
# Please note that only Linux binaries are uploaded. For Windows, please visit:
3+
# https://multitoolplusplus.codeberg.page/wiki/wiki/installing-dependencies.html#windows
4+
# https://multitoolplusplus.codeberg.page/wiki/wiki/building-multitool-with-cmake.html
5+
6+
# For macOS, please visit:
7+
# https://codeberg.org/multitoolplusplus/app/fork # you're on your own
8+
9+
name: Upload binaries as release artifacts
10+
11+
on:
12+
release:
13+
types: [published]
14+
jobs:
15+
build:
16+
runs-on: codeberg-tiny # Codeberg only has this runner, which runs Ubuntu.
17+
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v2
21+
22+
- name: Build with CMake
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get install -y cmake curl build-essential gcc
26+
mkdir -p build # In case it somehow exists already
27+
cd build
28+
cmake ..
29+
cmake --build .
30+
cd .. # Go back to repository root, to prevent the next step failing
31+
32+
- name: Upload binaries as action artifacts
33+
uses: actions/upload-artifact@v2
34+
with:
35+
name: pre-compiled binaries
36+
path: build

0 commit comments

Comments
 (0)