Skip to content

Commit 4bb4def

Browse files
authored
chore: set up access to vite-task in release workflow (#287)
1 parent f854dbe commit 4bb4def

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
- name: Set binding version
5151
run: pnpm exec tool replace-file-content packages/cli/binding/Cargo.toml 'version = "0.0.0"' 'version = "0.0.0-${{ github.sha }}"'
5252

53+
- name: Configure Git for access to vite-task
54+
run: git config --global url."https://x-access-token:${{ secrets.VITE_TASK_TOKEN }}@github.com/".insteadOf "https://github.com/"
55+
5356
- name: Build
5457
if: ${{ matrix.settings.target == 'x86_64-unknown-linux-gnu' }}
5558
run: pnpm --filter=@voidzero-dev/vite-plus build --target ${{ matrix.settings.target }} --use-napi-cross
@@ -96,6 +99,9 @@ jobs:
9699

97100
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
98101

102+
- name: Configure Git for access to vite-task
103+
run: git config --global url."https://x-access-token:${{ secrets.VITE_TASK_TOKEN }}@github.com/".insteadOf "https://github.com/"
104+
99105
- name: Bootstrap
100106
run: pnpm bootstrap-cli:ci
101107

0 commit comments

Comments
 (0)