-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
113 additions
and
97 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Create release bundle | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
name: Create vendor bundle | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
- name: Setup PHP 8.0 with composer | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.0' | ||
- name: Create directory zip | ||
shell: bash | ||
run: | | ||
cd .. | ||
zip -r spawntime-bundle-${{ github.event.release.tag_name }}.zip SPAWNTIME_MODULE/ -x "*.git*" | ||
mv spawntime-bundle-${{ github.event.release.tag_name }}.zip SPAWNTIME_MODULE/ | ||
- 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: ./spawntime-bundle-${{ github.event.release.tag_name }}.zip | ||
asset_name: spawntime-bundle-${{ github.event.release.tag_name }}.zip | ||
asset_content_type: application/zip | ||
- name: Notify aopkg | ||
uses: distributhor/workflow-webhook@v1 | ||
env: | ||
webhook_type: 'json-extended' | ||
webhook_url: 'https://pkg.aobots.org/webhook' | ||
webhook_secret: ${{ secrets.WEBHOOK_SECRET }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Allows you to query respawn-timers for mobs and check | ||
if they can skip a spawn and/or have placeholders. |
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
name = "SPAWNTIME_MODULE" | ||
description = "Query respawn-timers for mobs" | ||
version = "0.1.3" | ||
version = "0.1.4" | ||
github = "Nadybot/SPAWNTIME_MODULE" | ||
author = "Nadyita" | ||
bot_type = "Nadybot" | ||
bot_version = "^5.1.0" | ||
bot_version = "^6.0.0-alpha.1" | ||
|
||
[requires] | ||
ext-Reflection = "*" | ||
ext-pcre = "*" | ||
ext-date = "*" |
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
This file was deleted.
Oops, something went wrong.