fix(ci): mg

This commit is contained in:
windowsboy111
2023-04-12 18:31:46 +08:00
parent 5cb5cc4ffc
commit 8525c55b2d
2 changed files with 10 additions and 8 deletions
+5 -4
View File
@@ -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:
@@ -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}}
+5 -4
View File
@@ -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"
@@ -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}}