Skip to content

Commit

Permalink
debug 7
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Jan 31, 2024
1 parent eaacf39 commit 54ac641
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 37 deletions.
43 changes: 7 additions & 36 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build and package
run: |
# Your build commands here
# Example: npm install, build, etc.
- name: Get latest release
id: get_latest_release
run: |
latest_release=$(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/releases/latest" | \
jq -r .tag_name)
echo "Latest release: $latest_release"
echo "::set-output name=latest_release::$latest_release"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
with:
tag_name: ${{ steps.get_latest_release.outputs.latest_release }}
release_name: Release ${{ steps.get_latest_release.outputs.latest_release }}
body: |
Release notes for ${{ steps.get_latest_release.outputs.latest_release }}
draft: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
- name: Upload binaries to Github release
uses: svenstaro/upload-release-action@v2
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./wallee.zip
asset_name: asset.zip
asset_content_type: application/zip
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: wallee.zip
asset_name: wallee.zip
tag: ${{ github.ref }}
2 changes: 1 addition & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 54ac641

Please sign in to comment.