|
10 | 10 | required: true |
11 | 11 |
|
12 | 12 | env: |
13 | | - SELF_GH: https://api.github.com/repos/mpsq/emacs-gcc-wayland-devel-builder |
14 | | - UPSTREAM_GH: https://api.github.com/repos/flatwhatson/emacs |
| 13 | + UPSTREAM_API: https://api.github.com/repos/flatwhatson/emacs |
| 14 | + UPSTREAM_BRANCH: pgtk-nativecomp |
| 15 | + UPSTREAM_REPO: https://github.com/flatwhatson/emacs |
| 16 | + UPSTREAM_SRC: https://raw.githubusercontent.com/flatwhatson/emacs/pgtk-nativecomp |
15 | 17 |
|
16 | 18 | jobs: |
17 | 19 | check: |
|
28 | 30 | id: var |
29 | 31 | run: . ./ci/set-env-vars.bash |
30 | 32 | outputs: |
31 | | - ver: ${{ steps.var.outputs.ver }} |
| 33 | + pkg_version: ${{ steps.var.outputs.pkg_version }} |
32 | 34 |
|
33 | 35 | artifact: |
34 | 36 | runs-on: ubuntu-20.04 |
|
39 | 41 | env: |
40 | 42 | OLD_COMMIT_N: ${{ github.event.inputs.old_commit_n }} |
41 | 43 | NEW_COMMIT_N: ${{ github.event.inputs.new_commit_n }} |
42 | | - PKG_VERSION: ${{ needs.check.outputs.ver }} |
| 44 | + PKG_VERSION: ${{ needs.check.outputs.pkg_version }} |
43 | 45 | steps: |
44 | 46 | - name: Checkout the repo |
45 | 47 | uses: actions/checkout@v2 |
|
53 | 55 | env: |
54 | 56 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
55 | 57 | with: |
56 | | - tag_name: ${{ needs.check.outputs.ver }} |
57 | | - release_name: Release ${{ needs.check.outputs.ver }} |
| 58 | + tag_name: ${{ needs.check.outputs.pkg_version }} |
| 59 | + release_name: Release ${{ needs.check.outputs.pkg_version }} |
58 | 60 | body_path: /home/pcr/body.md |
59 | 61 | draft: false |
60 | 62 | prerelease: false |
|
65 | 67 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
66 | 68 | with: |
67 | 69 | upload_url: ${{ steps.create_release.outputs.upload_url }} |
68 | | - asset_path: /home/pcr/${{ needs.check.outputs.ver }}.tar.gz |
69 | | - asset_name: ${{ needs.check.outputs.ver }}.tar.gz |
| 70 | + asset_path: /home/pcr/${{ needs.check.outputs.pkg_version }}.tar.gz |
| 71 | + asset_name: ${{ needs.check.outputs.pkg_version }}.tar.gz |
70 | 72 | asset_content_type: application/gzip |
71 | 73 | - name: Push to AUR |
72 | 74 | env: |
|
0 commit comments