Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
aericpp committed Dec 4, 2023
1 parent c078287 commit 7469466
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/docker-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,38 +29,38 @@ jobs:
echo ${{ steps.check_release.outputs.TAG_NAME }}
echo ${{ steps.check_release.outputs.TAG_EXIST }}
# - name: compile nginx-proxy
# if: ${{ steps.check_release.outputs.FLAG == 1 }}
# uses: docker://debian:11-slim
# with:
# entrypoint: /github/workspace/entrypoint.sh
# args: 11
- name: compile nginx-proxy
if: ${{ steps.check_release.outputs.FLAG == 1 }}
uses: docker://debian:11-slim
with:
entrypoint: /github/workspace/entrypoint.sh
args: 11

# - name: compile nginx-proxy
# if: ${{ steps.check_release.outputs.FLAG == 1 }}
# uses: docker://debian:12-slim
# with:
# entrypoint: /github/workspace/entrypoint.sh
# args: 12
- name: compile nginx-proxy
if: ${{ steps.check_release.outputs.FLAG == 1 }}
uses: docker://debian:12-slim
with:
entrypoint: /github/workspace/entrypoint.sh
args: 12

# - name: upload artifact
# if: ${{ steps.check_release.outputs.FLAG == 1 }}
# uses: actions/upload-artifact@master
# with:
# name: nginx
# path: |
# release/
- name: upload artifact
if: ${{ steps.check_release.outputs.FLAG == 1 }}
uses: actions/upload-artifact@master
with:
name: nginx
path: |
release/
- name: notify
if: ${{ steps.check_release.outputs.FLAG == 1 }}
run: |
curl "${{secrets.PUSH_URL}}?title=Nginx新编译发布&body=${{ steps.check_release.outputs.TAG_NAME }}+${{ steps.check_release.outputs.FLAG }}"
curl "${{secrets.PUSH_URL}}?title=Nginx新编译发布&body=${{ steps.check_release.outputs.TAG_NAME }}"
# - name: release
# if: ${{ steps.check_release.outputs.FLAG == 1 }}
# uses: ncipollo/release-action@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# name: ${{ format('nginx_{0}', steps.check_release.outputs.TAG_NAME) }}
# tag: ${{ format('{0}', steps.check_release.outputs.TAG_NAME) }}
# artifacts: 'release/*'
- name: release
if: ${{ steps.check_release.outputs.FLAG == 1 }}
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ format('nginx_{0}', steps.check_release.outputs.TAG_NAME) }}
tag: ${{ format('{0}', steps.check_release.outputs.TAG_NAME) }}
artifacts: 'release/*'

0 comments on commit 7469466

Please sign in to comment.