Skip to content

Загрузчик файлов в последний релиз для Github Actions

License

Notifications You must be signed in to change notification settings

danyadev/upload-to-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upload to Release

Это GitHub Action, который используется для загрузки файлов в свой релиз

image

Пример:

name: Build app

on:
  release:
    types: [published]

jobs:
  build:
    name: Build and upload docker image
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@master
      - uses: actions/setup-node@master

      - name: Install deps
      - run: npm i

      - name: Build application
      - run: npm run build

      - name: Upload release files
        uses: danyadev/upload-to-release@master
        with:
          files: |
            [./build/release-x64.zip, release-x64.zip, application/zip]
            [./build/release-ia64.zip, release-x32.zip, application/zip]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

Загрузчик файлов в последний релиз для Github Actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published