fix: maybe it works now
This commit is contained in:
16
.github/workflows/test.yaml
vendored
16
.github/workflows/test.yaml
vendored
@@ -11,11 +11,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Create push branch
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ci
|
||||
path: push
|
||||
- name: Build latest dist/ folder
|
||||
run: |
|
||||
npm install -g pnpm
|
||||
@@ -25,14 +20,9 @@ jobs:
|
||||
run: |
|
||||
git config --global user.email "<41898282+github-actions[bot]@users.noreply.github.com>"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
cp -r dist push/dist
|
||||
cp README.md push/README.md
|
||||
cp LICENSE push/LICENSE
|
||||
cp action.yaml push/action.yaml
|
||||
|
||||
cd push
|
||||
git add dist README.md LICENSE action.yaml
|
||||
git commit -m "chore: create ci test ($GITHUB_SHA)"
|
||||
git checkout --orphan ci
|
||||
git add -f dist README.md LICENSE action.yaml
|
||||
git commit -m "chore: create ci release ($GITHUB_SHA)"
|
||||
git push -f origin ci
|
||||
test:
|
||||
name: Test
|
||||
|
||||
Reference in New Issue
Block a user