Skip to content

Commit 4244ce9

Browse files
authored
Fixing action name and artifact (#13)
* Fixing action name and artifact - Fixing artifact naming confict for sqlite3.db - Changing package name to openmodelica-library-testing - Only deploy gh-pages on tags
1 parent 35383ce commit 4244ce9

6 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'main'
77
- 'releases/*'
88
tags:
9-
- '*'
9+
- 'v*'
1010
pull_request:
1111

1212
jobs:
@@ -137,7 +137,7 @@ jobs:
137137
needs: test-action
138138
permissions:
139139
contents: write
140-
if: ${{ always() }}
140+
if: startsWith(github.ref, 'refs/tags/v')
141141
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
142142
runs-on: ubuntu-latest
143143

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
Modelica 4.0.0
8686
omc-diff: true
8787
88-
- uses: openmodelica-library-testing@v0.3
88+
- uses: OpenModelica/openmodelica-library-testing@v0.1
8989
with:
9090
library: 'MyLibrary'
9191
library-version: '2.2.0'

dist/index.js

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 11 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openmodelica-library-testing-action",
2+
"name": "openmodelica-library-testing",
33
"description": "Setup OpenModelicaLibraryTesting scripts and run them on Modelica package and publishes results.",
44
"version": "0.1.0",
55
"author": "AndreasHeuermann",

src/collect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export async function uploadArtifacts(
153153
)
154154

155155
const sqlitePromise = client.uploadArtifact(
156-
`sqlite3-${runId}.db`,
156+
`${omcVersion}-sqlite3-${runId}-${jobId}.db`,
157157
[sqlFile],
158158
path.dirname(sqlFile)
159159
)

0 commit comments

Comments
 (0)