Skip to content

Commit

Permalink
Attempt new release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Jan 23, 2024
1 parent 8805702 commit 69bd63c
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/moonscript_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: CD
run: cd $GITHUB_WORKSPACE
Expand Down Expand Up @@ -61,24 +61,11 @@ jobs:

- name: Publish Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: Latest Release with pre-compiled Lua (Ready to put in your addons directory)
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ github.event.repository.name }}.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip

generate_release_notes: true
files: |
./${{ github.event.repository.name }}.zip

0 comments on commit 69bd63c

Please sign in to comment.