diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60e1948..c11e911 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,13 +26,13 @@ jobs: uses: actions/upload-artifact@v3 with: name: yct.exe - path: dist/yct.exe + path: src/dist/yct.exe - name: Release uses: softprops/action-gh-release@v1 - if: contains(fromJSON(github.event.commits.modified), 'VERSION') + if: startsWith(github.ref, 'refs/tags/') with: files: | - dist/yct.exe + src/dist/yct.exe