Skip to content

Commit

Permalink
chore: test action
Browse files Browse the repository at this point in the history
  • Loading branch information
yrccondor committed Sep 29, 2024
1 parent 6f9155e commit 25dd943
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Build and Release

on:
release:
types: [published]
push:
branches:
- 'test/**'

jobs:
build:
Expand Down Expand Up @@ -46,16 +47,12 @@ jobs:
uses: 10up/[email protected]
with:
generate-zip: true
dry-run: true
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}

- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
name: ${{ github.event.repository.name }}.zip
path: ${{github.workspace}}/${{ github.event.repository.name }}.zip

0 comments on commit 25dd943

Please sign in to comment.