Skip to content

Commit

Permalink
Removing unneeded apt actions, bumping checkout version (#12)
Browse files Browse the repository at this point in the history
* Removing unneeded apt actions, bumping checkout version

* Applying changes to test.yml
  • Loading branch information
Juanito87 authored Dec 1, 2022
1 parent 49fa314 commit a36f2c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set rust version
run: |
Expand All @@ -26,11 +26,6 @@ jobs:
echo "GEYSER_PLUGIN_NAME=$plugin_name" | tee -a $GITHUB_ENV
echo "GEYSER_PLUGIN_LIB=lib${plugin_lib_name}" | tee -a $GITHUB_ENV
- if: runner.os == 'Linux'
run: |
apt-get update
apt-get install -y libudev-dev libssl-dev libsasl2-dev libzstd-dev
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_STABLE }}
Expand Down Expand Up @@ -60,4 +55,3 @@ jobs:
rust ${{ env.RUST_STABLE }}
files: |
${{ env.GEYSER_PLUGIN_NAME }}-release-*
7 changes: 1 addition & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set rust version
run: |
Expand All @@ -25,11 +25,6 @@ jobs:
echo "GEYSER_PLUGIN_NAME=$plugin_name" | tee -a $GITHUB_ENV
echo "GEYSER_PLUGIN_LIB=lib${plugin_lib_name}" | tee -a $GITHUB_ENV
- if: runner.os == 'Linux'
run: |
apt-get update
apt-get install -y libudev-dev libssl-dev libsasl2-dev libzstd-dev
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_STABLE }}
Expand Down

0 comments on commit a36f2c2

Please sign in to comment.