Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub upload action to v4 #749

Merged
merged 3 commits into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading