Skip to content

Commit

Permalink
CI/CD: Pass secret to fetch command
Browse files Browse the repository at this point in the history
  • Loading branch information
daijro committed Dec 9, 2024
1 parent 9b8eed1 commit 50d3534
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y msitools p7zip-full aria2
- name: Fetch source
env:
CAMOUFOX_PASSWD: ${{ secrets.CAMOUFOX_PASSWD }}
run: |
make fetch
- name: Setup and bootstrap
run: |
make setup-minimal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fetch:
exit 1; \
else \
aria2c -o rev-$(version)-$(release).7z "https://camoufox.com/pipeline/rev-$(version)-$(release).7z" && \
7z x -p"$$CAMOUFOX_PASSWD" rev-$(version)-$(release).7z -o./patches/closedsrc && \
@7z x -p"$$CAMOUFOX_PASSWD" rev-$(version)-$(release).7z -o./patches/closedsrc && \
rm rev-$(version)-$(release).7z; \
fi; \
fi; \
Expand Down

0 comments on commit 50d3534

Please sign in to comment.