File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
XPI_NAME : tabmix-dev-build
9
9
10
10
jobs :
11
- build :
11
+ build-and-upload :
12
12
runs-on : ubuntu-latest
13
-
14
13
steps :
15
14
- name : Checkout repo
16
15
uses : actions/checkout@v4
50
49
git tag -d dev-build && git tag dev-build $(git rev-parse HEAD)
51
50
fi
52
51
53
- - name : Upload release asset
52
+ - name : Upload release asset to GitHub
54
53
env :
55
54
GH_TOKEN : ${{ github.token }}
56
55
run : |
59
58
fi
60
59
gh release edit dev-build --draft=false
61
60
gh release upload dev-build /tmp/${{ env.XPI_NAME }}.xpi --clobber
61
+
62
+ - name : Upload to Bitbucket
63
+ run : |
64
+ curl --request POST \
65
+ --url 'https://api.bitbucket.org/2.0/repositories/onemen/tabmixplus-for-firefox/downloads' \
66
+ --header 'Authorization: Bearer ${{ secrets.BITBUCKET_ACCESS_TOKEN }}' \
67
+ -F 'files=@/tmp/${{ env.XPI_NAME }}.xpi'
You can’t perform that action at this time.
0 commit comments