Skip to content

Commit

Permalink
feat(action): hot2
Browse files Browse the repository at this point in the history
  • Loading branch information
JinnLynn committed Jun 25, 2024
1 parent 9de6860 commit 3839ee1
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/matrix-cook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,23 @@ jobs:
with:
ref: ${{ matrix.branch }}
path: work
- name: Checkout Branch cooked
uses: actions/checkout@v4
with:
ref: cooked
path: cooked
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: fire
id: fire
run: |
pip install ./work/ && \
mkdir -p ./tmp &&
cd ./tmp && \
cd ./cooked && \
m -rf ./* && \
genpac --config=../work/example/config.ini && \
ls -alhR ./ && \
echo "gen_time=$(date '+%Y-%m-%d %H:%M:%S %z')" >>$GITHUB_OUTPUT
- name: Checkout Branch cooked
uses: actions/checkout@v4
with:
ref: cooked
path: cooked
- name: copy
run: |
mkdir -p ./cooked/${{ matrix.branch }} && \
rm -rf ./cooked/${{ matrix.branch }}/* && \
cp ./tmp/* ./cooked/${{ matrix.branch }}/
- name: commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down

0 comments on commit 3839ee1

Please sign in to comment.