Skip to content

Commit

Permalink
ADD-WIP: testing automatic release artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
9and3 committed Apr 17, 2024
1 parent e7e4cda commit f244272
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,42 @@ jobs:
run: |
vsce show ibois-epfl.script-sync
########################### release artifacts ############################
release_artifacts:
needs: [publish_yak, publish_vsix]
runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Download Yak artifact
uses: actions/download-artifact@v2
with:
name: scriptsync_yak_package
path: yaker\build

- name: Download VSIX artifact
uses: actions/download-artifact@v2
with:
name: script-sync-vsix
path: VSCode\scriptsync

- name: Upload .vsix artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./VSCode/scriptsync/script-sync-vsix
asset_name: script-sync-vsix.vsix
asset_content_type: application/octet-stream

- name: Upload .yak artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./yaker/build/scriptsync_yak_package
asset_name: scriptsync_yak_package.yak
asset_content_type: application/octet-stream

0 comments on commit f244272

Please sign in to comment.