Skip to content

Commit c0d3fa2

Browse files
author
Roberto Sora
committed
[skip changelog] Add release workflow to github actions (#389)
* add release workflow to github actions * fix string * remove .drone.yml file
1 parent 4bd3946 commit c0d3fa2

File tree

2 files changed

+28
-40
lines changed

2 files changed

+28
-40
lines changed

Diff for: .drone.yml

-40
This file was deleted.

Diff for: .github/workflows/release.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: release
2+
3+
on:
4+
push:
5+
tags:
6+
- '[0-9].[0-9].[0-9]*'
7+
8+
jobs:
9+
publish-release:
10+
runs-on: ubuntu-latest
11+
12+
container:
13+
image: arduino/arduino-cli:builder-0.1
14+
volumes:
15+
# cache go dependencies across pipeline's steps
16+
- $PWD/go:/go
17+
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@v1
21+
22+
- name: build
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
25+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
26+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
27+
AWS_DEFAULT_REGION: 'us-east-1'
28+
run: goreleaser

0 commit comments

Comments
 (0)