Skip to content

Commit

Permalink
Redesign workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
me-and committed Oct 25, 2023
1 parent 7433d2a commit ff90dba
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 7 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: [push, pull_request]
jobs:
build-test:
uses: cygporter/workflows/.github/workflows/build-test.yml@simplify-test
with:
cygport_file: git.cygport

github-release:
if: github.ref == ("refs/heads/v" + ${{ needs.build-test.outputs.pv }} + "-test")
needs: build-test
permissions:
contents: write
uses: cygporter/workflows/.github/workflows/github-release.yml@simplify-test
with:
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}

cygwin-release:
if: github.ref == ("refs/heads/v" + ${{ needs.build-test.outputs.pv }} + "-test")
needs: build-test
uses: cygporter/workflows/.github/workflows/cygwin-release.yml@simplify-test
with:
cygport_file: git.cygport
tag_name: v${{ needs.build-test.outputs.cygport-pvr }}
secrets:
maintainer_key: ${{ secrets.maintainer_key }}

7 changes: 0 additions & 7 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit ff90dba

Please sign in to comment.