diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a82c9469..0c2f95c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,8 @@ run-name: psql ODBC CI - ${{ github.event.head_commit.message }} on: push: branches: [ "main" ] + tags: + - 'REL_*' pull_request: branches: [ "main" ] @@ -196,26 +198,26 @@ jobs: shell: powershell run: | winbuild\regress.ps1 -DsnInfo "SERVER=localhost|DATABASE=contrib_regression|PORT=5432|UID=postgres|PWD=password" -# - name: Upload x64 installer -# uses: actions/upload-artifact@v4 -# with: -# name: psqlODBC x64 Installer -# path: ./installer/x64/*.msi -# retention-days: 5 -# if-no-files-found: error -# - name: Upload x86 installer -# uses: actions/upload-artifact@v4 -# with: -# name: psqlODBC x86 Installer -# path: ./installer/x86/*.msi -# retention-days: 5 -# if-no-files-found: error -# - name: Upload x64 setup -# uses: actions/upload-artifact@v4 -# with: -# name: psqlODBC x64 Setup -# path: ./installer/psqlodbc-setup/bin/Release/psqlodbc-setup.exe -# retention-days: 5 -# if-no-files-found: error + - name: Upload x64 installer + uses: actions/upload-artifact@v4 + with: + name: psqlODBC x64 Installer + path: ./installer/x64/*.msi + retention-days: 5 + if-no-files-found: error + - name: Upload x86 installer + uses: actions/upload-artifact@v4 + with: + name: psqlODBC x86 Installer + path: ./installer/x86/*.msi + retention-days: 5 + if-no-files-found: error + - name: Upload x64 setup + uses: actions/upload-artifact@v4 + with: + name: psqlODBC x64 Setup + path: ./installer/psqlodbc-setup/bin/Release/psqlodbc-setup.exe + retention-days: 5 + if-no-files-found: error