diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 6b341d4..5f18f7a 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -1,25 +1,22 @@ -name: Release MibypassTool +name: Release mibypass on: + push: + paths: + - MiBypassTool.py + pull_request: + paths: + - MiBypassTool.py workflow_dispatch: -env: - VERSION: mibypass - jobs: linux: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Check GitHub CLI version - run: gh --version - - - name: List files - run: ls -al - - name: Upload Release run: | - gh release upload ${{ env.VERSION }} ./MiBypassTool.py --clobber + gh release upload mibypass ./MiBypassTool.py --clobber env: GITHUB_TOKEN: ${{ secrets.MIBYPASSTOOL }} \ No newline at end of file