Skip to content

Commit

Permalink
fix(ci): mg
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Apr 12, 2023
1 parent 5cb5cc4 commit 8525c55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
image: ghcr.io/terrapkg/builder:f38
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: terrapkg/anda-build@main
if: github.event_name != 'pull_request'
with:
Expand Down Expand Up @@ -73,10 +78,6 @@ jobs:
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }} anda-build/rpm/rpms/*
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Notify Madoguchi (Success)
if: success() && github.event_name != 'pull_request'
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
image: ghcr.io/terrapkg/builder:f38
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: terrapkg/anda-build@main
with:
name: "${{ matrix.pkg }}pkg"
Expand All @@ -42,10 +47,6 @@ jobs:
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }} anda-build/rpm/rpms/*
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Notify Madoguchi (Success)
if: success()
run: ./.github/workflows/mg.sh true ${{matrix.pkg.pkg}} ${{matrix.version}} ${{matrix.pkg.arch}} ${{github.run_id}} ${{secrets.MADOGUCHI_JWT}}
Expand Down

0 comments on commit 8525c55

Please sign in to comment.