-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c8a783
commit 59d6a94
Showing
5 changed files
with
210 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,14 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: rustup toolchain install stable --profile minimal | ||
- run: rustup target add wasm32-unknown-unknown | ||
- uses: jetli/[email protected] | ||
with: | ||
version: 'v0.16.0' | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
|
@@ -32,7 +32,7 @@ jobs: | |
run: trunk build | ||
working-directory: frontend | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: frontend-build-${{ github.sha }} | ||
path: frontend/dist | ||
|
@@ -82,15 +82,15 @@ jobs: | |
cross: true | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: rustup toolchain install stable --profile minimal | ||
|
||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: frontend-build-${{ github.sha }} | ||
path: frontend/dist | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,14 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: rustup toolchain install stable --profile minimal | ||
- run: rustup target add wasm32-unknown-unknown | ||
- uses: jetli/[email protected] | ||
with: | ||
version: 'v0.16.0' | ||
|
||
- uses: actions/cache/restore@v3 | ||
- uses: actions/cache/restore@v4 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
|
@@ -49,7 +49,7 @@ jobs: | |
run: trunk build | ||
working-directory: frontend | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: frontend-build-${{ github.ref_name }} | ||
path: frontend/dist | ||
|
@@ -99,15 +99,15 @@ jobs: | |
cross: true | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: rustup toolchain install stable --profile minimal | ||
|
||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: frontend-build-${{ github.ref_name }} | ||
path: frontend/dist | ||
|
||
- uses: actions/cache/restore@v3 | ||
- uses: actions/cache/restore@v4 | ||
with: | ||
path: | | ||
~/.cargo/bin/ | ||
|
@@ -150,7 +150,7 @@ jobs: | |
if: ${{ matrix.platform != null }} | ||
run: mkdir -p bin && cp backend/target/${{ matrix.target }}/release/mailcrab-backend bin/${{ matrix.platform }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: ${{ matrix.platform != null }} | ||
with: | ||
name: ${{ matrix.platform }}-build-${{ github.ref_name }} | ||
|
@@ -162,7 +162,7 @@ jobs: | |
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup docker buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
@@ -173,12 +173,12 @@ jobs: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | ||
|
||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: amd64-build-${{ github.ref_name }} | ||
path: bin | ||
|
||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: arm64-build-${{ github.ref_name }} | ||
path: bin | ||
|
Oops, something went wrong.