Skip to content

v1.4.1

v1.4.1 #3

Workflow file for this run

on:
release:
types: [published]
name: Upload Release Asset
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create pext zip
run: |
RELEASE_VERSION=${GITHUB_REF#refs/*/}
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
git archive --format=zip -o "bburky-IsThereAnyDeal-${RELEASE_VERSION}.pext" "${{ github.ref }}"
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./bburky-IsThereAnyDeal-${{ env.RELEASE_VERSION }}.pext
asset_name: bburky-IsThereAnyDeal-${{ env.RELEASE_VERSION }}.pext
asset_content_type: application/zip