Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheenoh committed Feb 4, 2024
1 parent 38ce748 commit 45e1207
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 20 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install clang-format
run: sudo apt-get install clang-format-10
run: |
sudo apt-get update
sudo apt-get install clang-format-10
- name: Run clang-format-check
run: sh external/misc/clang-format-check.sh

run: sh external/misc/clang-format-check.sh
2 changes: 1 addition & 1 deletion .github/workflows/gcn-ntscj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcn-ntscu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcn-pal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tpgz-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
steps:
- name: Download latest release patches
run: curl -s https://api.github.com/repos/zsrtp/tpgz/releases/latest | grep "http.*patch" | cut -d ":" -f 2,3 | tr -d \ \" | wget -qi - --directory-prefix patches/
- uses: jakejarvis/s3-sync-action@master
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
args: --acl public-read --follow-symlinks
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-2'
SOURCE_DIR: 'patches/'
DEST_DIR: 'patches/'
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ secrets.AWS_REGION }}
role-duration-seconds: 1200
role-session-name: GitHubActions
- name: Sync directory to S3
run: |
aws s3 sync build/ s3://${{ secrets.AWS_S3_BUCKET }}/ --delete --acl public-read
2 changes: 1 addition & 1 deletion .github/workflows/wii-ntscj.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wii-ntscu10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wii-ntscu12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wii-pal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
options: --shm-size=128m --ulimit core=-1 --privileged=true
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
token: ${{secrets.MY_REPO_PAT}}
submodules: recursive
Expand Down

0 comments on commit 45e1207

Please sign in to comment.