Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyrchien committed Jul 12, 2023
1 parent 9833ced commit d088d44
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -22,7 +22,7 @@ jobs:
run_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Build Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install latest nightly
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Create release tmp folder
run: mkdir -p target/x86_64-unknown-linux-musl/release
- uses: actions/download-artifact@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cross_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- target: armv7-unknown-linux-musleabihf
output: realm
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: echo '[build]' > Cross.toml && echo 'build-std = true' >> Cross.toml
if: contains(matrix.target, 'android')
- name: install toolchain
Expand All @@ -72,7 +72,7 @@ jobs:
target:
- x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -99,7 +99,7 @@ jobs:
- aarch64-apple-darwin
- aarch64-apple-ios
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- target: armv7-unknown-linux-musleabihf
output: realm
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: echo '[build]' > Cross.toml && echo 'build-std = true' >> Cross.toml
if: contains(matrix.target, 'android')
- name: install toolchain
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
target:
- x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -92,7 +92,7 @@ jobs:
run: |
mkdir -p release-${{ matrix.target }}
cd release-${{ matrix.target }}
tar -C ../target/${{ matrix.target }}/release/ -zcf realm-${{ matrix.target }}.tar.gz realm
tar -C ../target/${{ matrix.target }}/release/ -zcf realm-${{ matrix.target }}.tar.gz realm.exe
openssl dgst -sha256 -r realm-${{ matrix.target }}.tar.gz > realm-${{ matrix.target }}.sha256
- name: release
uses: softprops/action-gh-release@v1
Expand All @@ -109,7 +109,7 @@ jobs:
- aarch64-apple-darwin
- aarch64-apple-ios
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit d088d44

Please sign in to comment.