Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Jan 24, 2025
1 parent b19ca0e commit c9449c9
Showing 1 changed file with 11 additions and 22 deletions.
33 changes: 11 additions & 22 deletions .github/workflows/auto-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ jobs:
CARGO_VENDOR_DIR: ${{ github.workspace }}/vendor_rust
UPDATE_BRANCH: auto-update-rust-packaging-${{ matrix.ubuntu-version }}
steps:
# - name: Install dependencies
# env:
# DEBIAN_FRONTEND: noninteractive
# CARGO_VENDOR_FILTERER_VERSION: 0.5.16
# shell: bash
# run: |
# set -euo pipefail
- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
CARGO_VENDOR_FILTERER_VERSION: 0.5.16
shell: bash
run: |
set -euo pipefail
# apt update -y
# apt install -y dh-cargo libssl-dev pkg-config
apt update -y
apt install -y git dh-cargo libssl-dev pkg-config
# cargo install --locked --root=/usr \
# cargo-vendor-filterer@${{ env.CARGO_VENDOR_FILTERER_VERSION }}
cargo install --locked --root=/usr \
cargo-vendor-filterer@${{ env.CARGO_VENDOR_FILTERER_VERSION }}
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -148,13 +148,6 @@ jobs:
echo "modified=true" >> "${GITHUB_ENV}"
echo "update_branch=${UPDATE_BRANCH}" >> "${GITHUB_ENV}"
- name: Install git
if: ${{ env.modified == 'true' }}
run: |
set -eu
apt install -y git
- name: Create Pull Request
if: ${{ env.modified == 'true' }}
uses: peter-evans/create-pull-request@v7
Expand All @@ -173,8 +166,4 @@ jobs:
run: |
set -eu
# apt install -y git
# FIXME: remove
# cd ${{ github.workspace }}
# git commit --all -m "Auto update packaging related Rust files"
git push origin ${{ env.update_branch }}:${{ matrix.branch }}

0 comments on commit c9449c9

Please sign in to comment.