Skip to content

Commit

Permalink
Merge pull request #749 from sandervanhooft/gh_action_upload_zip
Browse files Browse the repository at this point in the history
Update GitHub upload action to v4
  • Loading branch information
sandervanhooft authored Oct 30, 2024
2 parents fc0eaf7 + 933b413 commit 6c9e326
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/createzip.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Installable Plugin
on:
release:
types: [published]
push:
branches:
- "*"
# release:
# types: [published]
jobs:
build:
name: Upload Release Asset
Expand Down Expand Up @@ -43,13 +46,13 @@ jobs:
run: zip -r mollie-api-php.zip examples src vendor composer.json LICENSE README.md
working-directory: build
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: mollie-api-php
path: build/mollie-api-php.zip
- name: Upload to release
uses: JasonEtco/upload-to-release@master
with:
args: build/mollie-api-php.zip application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload to release
# uses: JasonEtco/upload-to-release@master
# with:
# args: build/mollie-api-php.zip application/zip
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6c9e326

Please sign in to comment.