Skip to content

Package Release

Package Release #12

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-${{ github.ref_name }}.zip . -x .git/\* .github/\* .vscode/\* \*.bat icon.png
- 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-${{ github.ref_name }}.zip
asset_name: BetterBags_ItemRack-${{ github.ref_name }}