We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963f01b commit 681453dCopy full SHA for 681453d
.github/workflows/publish.yml
@@ -0,0 +1,27 @@
1
+name: Publish
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ publish:
10
+ if: startsWith(github.ref, 'refs/tags/')
11
+ runs-on: ubuntu-20.04
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: tarantool/setup-tarantool@v1
15
+ with:
16
+ tarantool-version: '2.7'
17
18
+ - run: echo "TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
19
+ - run: tarantoolctl rocks new_version --tag $TAG
20
+ - run: tarantoolctl rocks pack graphql-$TAG-1.rockspec
21
22
+ - uses: tarantool/rocks.tarantool.org/github-action@master
23
24
+ auth: ${{ secrets.ROCKS_USERNAME }}:${{ secrets.ROCKS_PASSWORD }}
25
+ files: |
26
+ graphql-${{ env.TAG }}-1.rockspec
27
+ graphql-${{ env.TAG }}-1.src.rock
0 commit comments