Skip to content

Commit

Permalink
Update to v4 of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Oct 9, 2024
1 parent 5031619 commit e2fb919
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 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,20 +61,20 @@ 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
Expand All @@ -86,20 +86,20 @@ jobs:
command: build
args: --locked --release --target aarch64-unknown-linux-gnu
- name: Upload selene arm64
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-linux-aarch64
path: ./target/aarch64-unknown-linux-gnu/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 @@ -111,7 +111,7 @@ jobs:
command: build
args: --locked --release --verbose --no-default-features --target aarch64-unknown-linux-gnu
- name: Upload selene-light arm64
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: selene-light-linux-aarch64
path: ./target/aarch64-unknown-linux-gnu/release/selene
Expand All @@ -120,7 +120,7 @@ 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
with:
Expand Down Expand Up @@ -208,7 +208,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
4 changes: 2 additions & 2 deletions .github/workflows/generate-roblox-std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- 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

0 comments on commit e2fb919

Please sign in to comment.