Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
doZennn committed May 16, 2024
1 parent 98928ce commit da16b9a
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,34 @@ name: Build
on:
push:
tags:
- '*'
- "*"
branches:
- main
pull_request:
branches: [ "main" ]
branches: ["main"]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Build
run: |
chmod +x dist.sh
./dist.sh
- name: Build
run: |
chmod +x dist.sh
chmod +x build.sh
./dist.sh
- uses: actions/upload-artifact@v4
with:
name: zoom-platform
path: zoom-platform.sh
- uses: actions/upload-artifact@v4
with:
name: zoom-platform
path: zoom-platform.sh

- name: Release if tag
if: github.ref_type == 'tag'
uses: ncipollo/release-action@v1
with:
artifacts: "zoom-platform.sh"
allowUpdates: true
- name: Release if tag
if: github.ref_type == 'tag'
uses: ncipollo/release-action@v1
with:
artifacts: "zoom-platform.sh"
allowUpdates: true

0 comments on commit da16b9a

Please sign in to comment.