Skip to content

Update init.R (#1525) #351

Update init.R (#1525)

Update init.R (#1525) #351

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/[email protected]
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