Skip to content

Commit

Permalink
chore(workflow): update run tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Oct 30, 2021
1 parent 2a14ab1 commit f7949db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
- name: Bundle files
run: |
mv dist oxmysql
mkdir oxmysql/lib
mv lib/MySQL.lua oxmysql/lib/MySQL.lua
zip -r oxmysql-${{ env.RELEASE_VERSION }}.zip oxmysql
- name: Create Release
Expand Down
1 change: 1 addition & 0 deletions lua/wrapper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local oxmysql = exports.oxmysql

CreateThread(function()
Wait(1000)
local resource = GetCurrentResourceName()
local url = GetResourceMetadata(resource, 'url', 0)
local version = GetResourceMetadata(resource, 'version', 0)
local link = ('%s/releases/download/v%s/oxmysql-v%s.zip'):format(url, version, version)
Expand Down

0 comments on commit f7949db

Please sign in to comment.