Update core #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "tagged-release" | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
tagged-release: | |
name: "Tagged Release" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout Repository" | |
uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 16 # Ensure we can generate changelogs | |
- name: "Get pURLfy core & rules" | |
run: | | |
wget https://cdn.jsdelivr.net/gh/PRO-2684/pURLfy@latest/purlfy.min.js -O purlfy.js | |
- name: "Zip release files" # Only if the version has been updated | |
run: | | |
echo "Creating a release zip file..." | |
zip -r purlfy-release.zip icons/ manifest.json purlfy.js main.js preload.js renderer.js settings.html | |
echo "Done!" | |
- name: "Create Release" | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
files: | | |
purlfy-release.zip |