Bump rustmius version to 0.3.2 #20
Workflow file for this run
This file contains hidden or 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
| name: Continuous Release Build | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| name: Build Linux | |
| runs-on: ubuntu-latest | |
| container: | |
| image: archlinux:latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| run: | | |
| pacman -Syu --noconfirm | |
| pacman -S --noconfirm base-devel libadwaita gtk4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| #- name: Run clippy | |
| #run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: Build project | |
| run: cargo build --release | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| name: Release ${{ github.ref_name }} | |
| body: | | |
| ## Rustmius - Build ${{ github.ref_name }} | |
| **Build Date:** ${{ github.event.head_commit.timestamp }} | |
| generate_release_notes: true | |
| append_body: true | |
| files: target/release/rustmius | |
| draft: false | |
| prerelease: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Publish AUR package | |
| uses: KSXGitHub/[email protected] | |
| with: | |
| pkgname: rustmius | |
| pkgbuild: ./PKGBUILD | |
| commit_username: ${{ secrets.AUR_USERNAME }} | |
| commit_email: ${{ secrets.AUR_EMAIL }} | |
| ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} | |
| commit_message: Update AUR package | |
| ssh_keyscan_types: rsa,ecdsa,ed25519 | |
| - name: Generate AUR package for binary | |
| run: chmod +x .github/scripts/aur-bin.sh && .github/scripts/aur-bin.sh | |
| - name: Publish AUR package | |
| uses: KSXGitHub/[email protected] | |
| with: | |
| pkgname: rustmius-bin | |
| pkgbuild: ./PKGBUILD-BIN | |
| commit_username: ${{ secrets.AUR_USERNAME }} | |
| commit_email: ${{ secrets.AUR_EMAIL }} | |
| ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} | |
| commit_message: Update AUR package | |
| ssh_keyscan_types: rsa,ecdsa,ed25519 |