Skip to content

Commit

Permalink
Update conditional syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Aug 2, 2024
1 parent 0478d20 commit ce6b354
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
gradle ${meta.files.githubWorkflows.publishTask} -Pgitonium.isSnapshot=true
gradle-version-command: |
gradle -q ${meta.files.githubWorkflows.printVersionTask} -Pgitonium.isSnapshot=true
if: "github.event_name == 'push' && github.ref == 'refs/heads/${meta.mainBranch}'"
if: ${'$'}{{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
needs: [build]
secrets:
METABORG_ARTIFACTS_USERNAME: ${'$'}{{ secrets.METABORG_ARTIFACTS_USERNAME }}
Expand All @@ -45,7 +45,7 @@ jobs:
gradle ${meta.files.githubWorkflows.publishTask}
gradle-version-command: |
gradle -q ${meta.files.githubWorkflows.printVersionTask}
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/${meta.releaseTagPrefix}')"
if: ${'$'}{{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/devenv-release/') }}
needs: [build]
secrets:
METABORG_ARTIFACTS_USERNAME: ${'$'}{{ secrets.METABORG_ARTIFACTS_USERNAME }}
Expand Down

0 comments on commit ce6b354

Please sign in to comment.