Bump once_cell from 1.19.0 to 1.20.1 #508
Workflow file for this run
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 is part of the rust-for-it project. | |
# | |
# Copyright (c) 2023 Sebastian Pipping <[email protected]> | |
# SPDX-License-Identifier: MIT | |
name: Build release binaries | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: '0 16 * * 5' # Every Friday 4pm | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
release_binaries: | |
name: Build release binaries | |
strategy: | |
fail-fast: false | |
matrix: | |
runs-on: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Check out | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Build | |
run: |- | |
set -x | |
rustc --version --verbose | |
cargo build --release | |
mv -v target/release/rust-for-it* . | |
rm rust-for-it.d # to not go into artifact zip file | |
- name: Compress binary using UPX (Linux) | |
if: runner.os == 'Linux' | |
run: |- | |
upx --best --no-lzma ./rust-for-it | |
- name: Store binary | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: rust-for-it_${{ matrix.runs-on }}_${{ github.sha }} | |
path: | | |
LICENSE | |
rust-for-it* | |
if-no-files-found: error |