Skip to content

Package Release

Package Release #15

Workflow file for this run

name: Package Release
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Zip folder
run: zip -r BetterBags_ItemRack.zip . -x .git/\* .github/\* .vscode/\* \*.bat icon.png readme.md
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.token }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./BetterBags_ItemRack.zip
asset_name: BetterBags_ItemRack-${{ github.ref_name }}.zip
asset_content_type: application/zip