Skip to content

Commit

Permalink
Fixing action name and artifact (#13)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
AnHeuermann authored Feb 1, 2024
1 parent 35383ce commit 4244ce9
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'main'
- 'releases/*'
tags:
- '*'
- 'v*'
pull_request:

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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
Modelica 4.0.0
omc-diff: true
- uses: openmodelica-library-testing@v0.3
- uses: OpenModelica/openmodelica-library-testing@v0.1
with:
library: 'MyLibrary'
library-version: '2.2.0'
Expand Down
9 changes: 6 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 11 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "openmodelica-library-testing-action",
"name": "openmodelica-library-testing",
"description": "Setup OpenModelicaLibraryTesting scripts and run them on Modelica package and publishes results.",
"version": "0.1.0",
"author": "AndreasHeuermann",
Expand Down
2 changes: 1 addition & 1 deletion src/collect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export async function uploadArtifacts(
)

const sqlitePromise = client.uploadArtifact(
`sqlite3-${runId}.db`,
`${omcVersion}-sqlite3-${runId}-${jobId}.db`,
[sqlFile],
path.dirname(sqlFile)
)
Expand Down

0 comments on commit 4244ce9

Please sign in to comment.