Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing build due to deprecated action #616

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Default features)
run: |
cd selene
cargo build --locked --release
- name: Upload selene
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-windows
path: ./target/release/selene.exe
build_windows_light:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Lightweight)
run: |
cd selene
cargo build --locked --release --verbose --no-default-features
- name: Upload selene-light
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-windows
path: ./target/release/selene.exe
build_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (Default features)
Expand All @@ -45,14 +45,14 @@ jobs:
cd selene
cargo build --locked --release
- name: Upload selene
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-macos
path: ./target/release/selene
build_mac_light:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Build (Lightweight)
Expand All @@ -61,33 +61,33 @@ jobs:
cd selene
cargo build --locked --release --verbose --no-default-features
- name: Upload selene-light
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-macos
path: ./target/release/selene
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Default features)
run: |
cd selene
cargo build --locked --release
- name: Upload selene
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-linux
path: ./target/release/selene
build_linux_light:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build (Lightweight)
run: |
cd selene
cargo build --locked --release --verbose --no-default-features
- name: Upload selene-light
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-linux
path: ./target/release/selene
Expand All @@ -96,9 +96,9 @@ jobs:
needs: ['build_windows_light', 'build_windows', 'build_mac', 'build_mac_light', 'build_linux', 'build_linux_light']
if: contains(github.event.head_commit.message, '[release]')
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: artifacts
- run: |
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
asset_path: ./selene-light-macos.zip
asset_name: selene-light-${{ env.VERSION }}-macos.zip
asset_content_type: application/zip
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-roblox-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Generate
run: cargo run --bin selene --verbose -- generate-roblox-std
- name: Upload
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: roblox
path: roblox.yml
Loading