mirror of
https://github.com/G2-Games/lbee-utils.git
synced 2025-04-19 15:22:53 -05:00
Update action
This commit is contained in:
parent
afba99230a
commit
ff80c4fba5
1 changed files with 4 additions and 13 deletions
17
.github/workflows/buildrelease.yml
vendored
17
.github/workflows/buildrelease.yml
vendored
|
@ -15,15 +15,13 @@ jobs:
|
||||||
name: Build binaries for Windows and Linux
|
name: Build binaries for Windows and Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: '📄 Checkout'
|
||||||
- uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Set up Rust environment'
|
- name: 'Set up Rust environment'
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
targets: x86_64-pc-windows-gnu, x86_64-unknown-linux-gnu
|
targets: x86_64-pc-windows-gnu, x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
- name: 'Cache Rust dependencies'
|
- name: 'Cache Rust dependencies'
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
@ -31,7 +29,6 @@ jobs:
|
||||||
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.OS }}-build-
|
${{ runner.OS }}-build-
|
||||||
|
|
||||||
- name: '📦 Package Windows x86_64'
|
- name: '📦 Package Windows x86_64'
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
|
@ -41,7 +38,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.TOKEN }}
|
GITHUB_TOKEN: ${{ github.TOKEN }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: '📦 Package Linux x86_64'
|
- name: '📦 Package Linux x86_64'
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
|
@ -51,20 +47,17 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.TOKEN }}
|
GITHUB_TOKEN: ${{ github.TOKEN }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
build-mac:
|
build-mac:
|
||||||
name: Build binaries for MacOS
|
name: Build binaries for MacOS
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
steps:
|
steps:
|
||||||
|
- name: '📄 Checkout'
|
||||||
- uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Set up Rust environment'
|
- name: 'Set up Rust environment'
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
targets: x86_64-apple-darwin, aarch64-apple-darwin
|
targets: x86_64-apple-darwin, aarch64-apple-darwin
|
||||||
|
|
||||||
- name: 'Cache Rust dependencies'
|
- name: 'Cache Rust dependencies'
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
@ -72,7 +65,6 @@ jobs:
|
||||||
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.OS }}-build-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.OS }}-build-
|
${{ runner.OS }}-build-
|
||||||
|
|
||||||
- name: '📦 Package MacOS x86_64'
|
- name: '📦 Package MacOS x86_64'
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
|
@ -82,7 +74,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.TOKEN }}
|
GITHUB_TOKEN: ${{ github.TOKEN }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: '📦 Package MacOS Arm'
|
- name: '📦 Package MacOS Arm'
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}
|
cd ${{github.workspace}}
|
||||||
|
|
Loading…
Reference in a new issue