UPD: Use GITHUB_TOKEN for releases
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
pnpm-command: 'build:mac'
|
pnpm-command: 'build:mac'
|
||||||
binary_path: dist/*.dmg
|
binary_path: dist/*.dmg
|
||||||
asset_name: zeroone-${{ github.ref }}.dmg
|
asset_name: zeroone-${{ github.ref }}.dmg
|
||||||
name: ${{ matrix.name }} Release 🚀
|
name: ${{ matrix.name }} Release
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: 🚚 Checkout latest code
|
- name: 🚚 Checkout latest code
|
||||||
@@ -46,5 +46,6 @@ jobs:
|
|||||||
- name: 📦 Release binary
|
- name: 📦 Release binary
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ${{ matrix.binary_path }}
|
file: ${{ matrix.binary_path }}
|
||||||
asset_name: ${{ matrix.asset_name }}
|
asset_name: ${{ matrix.asset_name }}
|
||||||
Reference in New Issue
Block a user