diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ea5424a..fd840f99 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Artifact Generator +name: FModel Builder on: workflow_dispatch: @@ -32,14 +32,15 @@ jobs: - name: ZIP File uses: papeloto/action-zip@v1 with: - files: D:\a\FModel\FModel\FModel\bin\Publish\ + files: ./FModel/bin/Publish/FModel.exe dest: FModel.zip - name: GIT Release - uses: ncipollo/release-action@v1 + uses: marvinpinto/action-automatic-releases@latest with: - artifacts: D:\a\FModel\FModel\FModel\bin\Publish\FModel.zip - artifactErrorsFailBuild: true - name: "FModel v${{ github.event.inputs.appVersion }}" - tag: ${{ github.event.inputs.appVersion }} - token: ${{ secrets.GITHUB_TOKEN }} + title: "FModel v${{ github.event.inputs.appVersion }}" + automatic_release_tag: ${{ github.event.inputs.appVersion }} + repo_token: ${{ secrets.GITHUB_TOKEN }} + prerelease: false + files: | + */FModel/bin/Publish/FModel.zip \ No newline at end of file