Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Update release-onnx.yml #8

Update release-onnx.yml

Update release-onnx.yml #8

Workflow file for this run

name: Release ONNX Files
on:
push:
branches:
- main
jobs:
build:
permissions:
id-token: write-all

Check failure on line 11 in .github/workflows/release-onnx.yml

View workflow run for this annotation

GitHub Actions / Release ONNX Files

Invalid workflow file

The workflow is not valid. .github/workflows/release-onnx.yml (Line: 11, Col: 17): Unexpected value 'write-all'
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Upload onnx to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: cmd/ai/datas/models/*.onnx
tag: ${{ github.ref }}
overwrite: true
file_glob: true