Skip to content

Commit

Permalink
Remove uninstall, workflows for GH workflow testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzeeb3 committed Nov 8, 2024
1 parent 73ff018 commit d935c5d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 58 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/plugin-deploy.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/plugin-update.yml

This file was deleted.

10 changes: 6 additions & 4 deletions .github/workflows/update-freemius-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Check out the code
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history so we can access tags

- name: Get Latest Tag
id: get_tag
Expand All @@ -21,15 +23,15 @@ jobs:
TAG=$(git describe --tags --abbrev=0)
echo "tag=$TAG" >> $GITHUB_ENV # Store in environment variable
# Create zip file with the repository name
- name: Create zipfile of the repository
# Create zip file from the latest tag
- name: Create zipfile from tag
run: |
zip -qq -r "${{ github.event.repository.name }}.zip" ./*
git archive -o "${{ github.event.repository.name }}-${{ env.tag }}.zip" ${{ env.tag }}
- name: Deploy to Freemius
uses: buttonizer/freemius-deploy@c104cc8c63c850b01f20fa642046ea76b3f7e53b # Using the PR @see https://github.com/buttonizer/freemius-deploy/pull/2
with:
file_name: "${{ github.event.repository.name }}.zip" # Use the dynamically named zip file
file_name: "${{ github.event.repository.name }}-${{ env.tag }}.zip" # Use the tag-based zip file
release_mode: pending
version: ${{ env.tag }} # Use the retrieved tag as the version
sandbox: false
Expand Down
16 changes: 0 additions & 16 deletions uninstall.php

This file was deleted.

0 comments on commit d935c5d

Please sign in to comment.