updated references
This commit is contained in:
@@ -52,34 +52,16 @@ jobs:
|
|||||||
cp ./output/spearhead.lua ./output/spearhead.${{ steps.read_version.outputs.tag }}.lua
|
cp ./output/spearhead.lua ./output/spearhead.${{ steps.read_version.outputs.tag }}.lua
|
||||||
echo "Versioned file created: spearhead.${{ steps.read_version.outputs.tag }}.lua"
|
echo "Versioned file created: spearhead.${{ steps.read_version.outputs.tag }}.lua"
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create Release and Upload Assets
|
||||||
uses: actions/create-release@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
id: create_release
|
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.read_version.outputs.tag }}
|
tag_name: ${{ steps.read_version.outputs.tag }}
|
||||||
release_name: Release ${{ steps.read_version.outputs.tag }}
|
name: Release ${{ steps.read_version.outputs.tag }}
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: false
|
files: |-
|
||||||
|
./output/spearhead.lua
|
||||||
|
./output/spearhead.${{ steps.read_version.outputs.tag }}.lua
|
||||||
|
#token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
NODE_OPTIONS: '--experimental-fetch'
|
||||||
|
|
||||||
- name: Upload Spearhead.lua Asset
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./output/spearhead.lua
|
|
||||||
asset_name: spearhead.lua
|
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
|
|
||||||
- name: Upload Versioned Spearhead.lua Asset
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: ./output/spearhead.${{ steps.read_version.outputs.tag }}.lua
|
|
||||||
asset_name: spearhead.${{ steps.read_version.outputs.tag }}.lua
|
|
||||||
asset_content_type: application/octet-stream
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user