Skip to content

Commit 3565954

Browse files
committed
CI update
1 parent bae0619 commit 3565954

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

.github/workflows/build_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Build
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
- uses: actions-rust-lang/setup-rust-toolchain@v1
2626
- run: rustup target add aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu powerpc-unknown-linux-gnu
2727
- run: RUSTFLAGS="-C target-feature=+neon" cargo build --target aarch64-unknown-linux-gnu

.github/workflows/mirroring.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Mirror to GitLab and Codeberg
2+
3+
on:
4+
push:
5+
branches: [ 'master' ]
6+
tags:
7+
- '*'
8+
9+
jobs:
10+
mirror:
11+
runs-on: ubuntu-latest
12+
environment: mirroring
13+
steps:
14+
- uses: actions/checkout@v6
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Mirror to GitLab
19+
run: |
20+
git remote add gitlab https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/awxkee/histogram_equalization.git
21+
git remote add codeberg https://awxkee:${{ secrets.CODEBERG_TOKEN }}@codeberg.org/awxkee/histogram_equalization.git
22+
git push gitlab --all --force
23+
git push gitlab --tags --force
24+
git push codeberg --all --force
25+
git push codeberg --tags --force

.github/workflows/publish_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
environment: Cargo
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
- uses: actions-rust-lang/setup-rust-toolchain@v1
2020
- run: rustup target add aarch64-unknown-linux-gnu x86_64-unknown-linux-gnu i686-unknown-linux-gnu powerpc-unknown-linux-gnu
2121
- run: RUSTFLAGS="-C target-feature=+neon" cargo build --target aarch64-unknown-linux-gnu

0 commit comments

Comments
 (0)