Skip to content

Commit

Permalink
Uses the common workflow files (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
saltiyazan authored Jul 12, 2023
1 parent 007de92 commit 6ef15ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 63 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/build.yaml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ on:

jobs:

build:
uses: ./.github/workflows/build.yaml
build-rock:
uses: canonical/sdcore-github-workflows/.github/workflows/build-rock.yaml@main

publish:
scan-rock:
needs: build-rock
uses: canonical/sdcore-github-workflows/.github/workflows/scan-rock.yaml@main

publish-rock:
if: github.ref_name == 'main'
needs: build
uses: ./.github/workflows/publish.yaml
needs: scan-rock
uses: canonical/sdcore-github-workflows/.github/workflows/publish-rock.yaml@main
41 changes: 0 additions & 41 deletions .github/workflows/publish.yaml

This file was deleted.

0 comments on commit 6ef15ae

Please sign in to comment.