Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias authored Jun 6, 2024
1 parent 709d607 commit 11d37f1
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,32 +65,23 @@ jobs:
command: test

aur:
name: Pulish to AUR
name: AUR
runs-on: ubuntu-latest
needs: [check_version, build_and_test]
steps:
- uses: actions/checkout@v4

- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install latest Rust nightly
run: rustup default nightly && rustup update

- name: List commands
uses: actions-rs/cargo@v1
with:
command: --list

- name: Add cargo-aur
uses: actions-rs/cargo@v1
with:
command: add cargo-aur

- name: cargo-aur
uses: actions-rs/cargo@v1
with:
command: aur
- name: Run cargo aur
run: cargo aur

# - name: Publish AUR package
# uses: KSXGitHub/[email protected]
# with:
Expand All @@ -103,7 +94,7 @@ jobs:
# ssh_keyscan_types: rsa,dsa,ecdsa,ed25519

docker:
name: Pulish to Docker Hub
name: Docker
permissions:
id-token: write
packages: write
Expand Down

0 comments on commit 11d37f1

Please sign in to comment.