Refactor build-linux.yml to replace Coscmd with AWS CLI for R2 config… #569
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Receive PR | |
# read-only repo token | |
# no access to secrets | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Save PR number | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.number }} > ./pr/NR | |
echo ${{ github.event.pull_request.head.sha }} > ./pr/SHA | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: pr | |
path: pr/ |