Skip to content

Merge pull request #1561 from ManuelHentschel/nostale #355

Merge pull request #1561 from ManuelHentschel/nostale

Merge pull request #1561 from ManuelHentschel/nostale #355

Workflow file for this run

name: pre-release
# creates/updates a pre-release with the .vsix
on:
push:
branches: ["master"]
env:
FILE_OUT: r-latest.vsix
SCRIPT_DIR: ./.github/scripts
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: node $SCRIPT_DIR/enableWebpack.js
- run: yarn install
- uses: lannonbr/vsce-action@master
with:
args: "package -o $FILE_OUT"
- uses: actions/upload-artifact@v3
with:
name: "${{ env.FILE_OUT }}"
path: "${{ env.FILE_OUT }}"
pre-release:
name: Pre-Release
needs: build
runs-on: ubuntu-latest
steps:
- name: Update tag
uses: richardsimko/update-tag@v1
with:
tag_name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Download artifacts
uses: actions/download-artifact@v3
with:
path: "artifacts/"
- name: Upload artifacts
uses: meeDamian/github-release@2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: latest
commitish: master
name: Development Build
body: Contains the vsix-file from the latest push to master.
prerelease: true
files: "artifacts/*/*"
gzip: false
allow_override: true