Skip to content

Commit

Permalink
[Misc] Reduce runner permissions
Browse files Browse the repository at this point in the history
Summary: reduce arm runner permissions and update actions config

Testing: CI pipline

Reviewers: D-D-H, sendaoYan

Issue: #651
  • Loading branch information
Accelerator1996 committed Jul 9, 2024
1 parent cf827ca commit f10bc7f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ jobs:
name: Linux aarch64(release)
runs-on: ["ubuntu", "ARM64"]
steps:
- name: Update apt and download dependency
run: |
sudo apt update -y
sudo apt install -y libxtst-dev libxt-dev libxrender-dev libxrandr-dev libxi-dev libcups2-dev libfontconfig1-dev libasound2-dev unzip zip openjdk-8-jdk
- name: Get boot jdk
run: |
if [ ! -f /home/${USER}/dragonwell8/dragonwell-8.15.16/bin/java ];then
Expand Down Expand Up @@ -187,10 +183,6 @@ jobs:
name: Linux aarch64(fastdebug)
runs-on: ["ubuntu", "ARM64"]
steps:
- name: Update apt and download dependency
run: |
sudo apt update -y
sudo apt install -y libxtst-dev libxt-dev libxrender-dev libxrandr-dev libxi-dev libcups2-dev libfontconfig1-dev libasound2-dev unzip zip openjdk-8-jdk
- name: Get boot jdk
run: |
if [ ! -f /home/${USER}/dragonwell8/dragonwell-8.15.16/bin/java ];then
Expand Down Expand Up @@ -249,8 +241,6 @@ jobs:
if [ ! -f /home/${USER}/jtreg/bin/jtreg ];then
wget https://compiler-ci-bucket.oss-cn-hangzhou.aliyuncs.com/tools/jtreg_5_1_b01.zip -O /home/${USER}/jtreg_5_1_b01.zip
cd /home/${USER}
sudo apt update -y
sudo apt install -y unzip
unzip jtreg_5_1_b01.zip
fi
- name: Test
Expand Down

0 comments on commit f10bc7f

Please sign in to comment.