Upgrade upload-artifact action in build workflow
This commit is contained in:
parent
2829c12d35
commit
44235f0c0b
1 changed files with 6 additions and 6 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
- name: Build todos binary
|
||||
run: cargo build --verbose --profile release-opt --package todos
|
||||
- name: Archive todos binary
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: todos-x86_64-unknown-linux-gnu
|
||||
path: target/release-opt/todos
|
||||
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
- name: Rename todos .deb package
|
||||
run: mv target/debian/*.deb target/debian/iced_todos-x86_64-debian-linux-gnu.deb
|
||||
- name: Archive todos .deb package
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: todos-x86_64-debian-linux-gnu
|
||||
path: target/debian/iced_todos-x86_64-debian-linux-gnu.deb
|
||||
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
- name: Build todos binary
|
||||
run: cargo build --verbose --profile release-opt --package todos
|
||||
- name: Archive todos binary
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: todos-x86_64-pc-windows-msvc
|
||||
path: target/release-opt/todos.exe
|
||||
|
|
@ -65,7 +65,7 @@ jobs:
|
|||
- name: Open binary via double-click
|
||||
run: chmod +x target/release-opt/todos
|
||||
- name: Archive todos binary
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: todos-x86_64-apple-darwin
|
||||
path: target/release-opt/todos
|
||||
|
|
@ -80,14 +80,14 @@ jobs:
|
|||
- name: Build todos binary for Raspberry Pi 3/4 (64 bits)
|
||||
run: cross build --verbose --profile release-opt --package todos --target aarch64-unknown-linux-gnu
|
||||
- name: Archive todos binary
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: todos-aarch64-unknown-linux-gnu
|
||||
path: target/aarch64-unknown-linux-gnu/release-opt/todos
|
||||
- name: Build todos binary for Raspberry Pi 2/3/4 (32 bits)
|
||||
run: cross build --verbose --profile release-opt --package todos --target armv7-unknown-linux-gnueabihf
|
||||
- name: Archive todos binary
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: todos-armv7-unknown-linux-gnueabihf
|
||||
path: target/armv7-unknown-linux-gnueabihf/release-opt/todos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue