mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:35:09 +00:00
chore: use unique artifact name
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
6
.github/workflows/release-secret-cli.yml
vendored
6
.github/workflows/release-secret-cli.yml
vendored
@@ -130,7 +130,7 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
name: ${{ github.event.inputs.tag || inputs.tag }}
|
||||
name: ${{ format('{0}-signed', github.event.inputs.tag || inputs.tag) }}
|
||||
path: packages/nc-secret-mgr/mac-dist
|
||||
retention-days: 1
|
||||
|
||||
@@ -141,14 +141,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/download-artifact@master
|
||||
with:
|
||||
name: ${{ github.event.inputs.tag || inputs.tag }}
|
||||
name: ${{ format('{0}-signed', github.event.inputs.tag || inputs.tag) }}
|
||||
path: packages/nc-secret-mgr/mac-dist
|
||||
|
||||
- name: Upload executables(except mac executables) to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.NC_GITHUB_TOKEN_TEMP }}
|
||||
file: mac-dist/**
|
||||
file: packages/nc-secret-mgr/mac-dist/**
|
||||
tag: ${{ github.event.inputs.tag || inputs.tag }}
|
||||
overwrite: true
|
||||
file_glob: true
|
||||
|
||||
@@ -34,10 +34,15 @@ export default async function (force = false, ncMeta = Noco.ncMeta) {
|
||||
.where('key', 'nc_server_id')
|
||||
.first()
|
||||
.then((c) => c.created_at);
|
||||
const files = await ncMeta
|
||||
.knex(MetaTable.FILE_REFERENCES)
|
||||
.count('id as count')
|
||||
.first()
|
||||
.then((c) => c.count);
|
||||
|
||||
const nc_db_type = Noco.getConfig()?.meta?.db?.client;
|
||||
|
||||
res = { projectsMeta, projectsExt, impacted, nc_db_type, created };
|
||||
res = { projectsMeta, projectsExt, impacted, nc_db_type, created, files };
|
||||
await NocoCache.set(CacheScope.INSTANCE_META, res);
|
||||
}
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user