|
38 | 38 | - uses: Swatinem/rust-cache@v1 |
39 | 39 | - name: cargo check - ${{ matrix.cargo_checks.name }} |
40 | 40 | run: cargo ${{ matrix.cargo_checks.subcommand }} |
41 | | - #generate_changelog: |
42 | | - # name: Generate changelog |
43 | | - # runs-on: ubuntu-latest |
44 | | - # steps: |
45 | | - # - name: Checkout |
46 | | - # uses: actions/checkout@v2 |
47 | | - # with: |
48 | | - # fetch-depth: 0 |
49 | | - # - name: Install Rust |
50 | | - # uses: actions-rs/toolchain@v1 |
51 | | - # with: |
52 | | - # toolchain: stable |
53 | | - # profile: minimal |
54 | | - # override: true |
55 | | - # - uses: Swatinem/rust-cache@v1 |
56 | | - # with: |
57 | | - # key: changelog |
58 | | - # - name: Generate a changelog |
59 | | - # uses: orhun/git-cliff-action@v1 |
60 | | - # id: git-cliff |
61 | | - # with: |
62 | | - # config: cliff.toml |
63 | | - # args: --verbose |
64 | | - # env: |
65 | | - # OUTPUT: CHANGELOG-generated.md |
66 | | - # - name: Print the changelog |
67 | | - # run: cat "${{ steps.git-cliff.outputs.changelog }}" |
68 | | - # - name: Upload generated CHANGELOG |
69 | | - # uses: actions/upload-artifact@v2 |
70 | | - # with: |
71 | | - # name: CHANGELOG-generated |
72 | | - # path: CHANGELOG-generated.md |
73 | | - # retention-days: 1 |
74 | | - |
75 | | - #commit_changelog: |
76 | | - # name: Commit changelog |
77 | | - # #if: github.event_name == 'push' && github.ref == 'refs/heads/staging' |
78 | | - # needs: |
79 | | - # - ci |
80 | | - # - generate_changelog |
81 | | - # runs-on: ubuntu-latest |
82 | | - # steps: |
83 | | - # - name: Checkout |
84 | | - # uses: actions/checkout@v2 |
85 | | - # with: |
86 | | - # fetch-depth: 0 |
87 | | - # - name: Git branch name |
88 | | - # id: git-branch-name |
89 | | - # uses: EthanSK/git-branch-name-action@v1 |
90 | | - # - name: Echo the branch name |
91 | | - # run: echo "Branch name ${GIT_BRANCH_NAME}" |
92 | | - # - name: Download generated CHANGELOG |
93 | | - # uses: actions/download-artifact@v2 |
94 | | - # with: |
95 | | - # name: CHANGELOG-generated |
96 | | - # path: /tmp |
97 | | - # - name: Copy over changelog |
98 | | - # run: cp /tmp/CHANGELOG-generated.md CHANGELOG.md |
99 | | - # - uses: EndBug/add-and-commit@v9 |
100 | | - # with: |
101 | | - # add: CHANGELOG.md |
102 | | - # new_branch: ${{ env.GIT_BRANCH_NAME }} |
103 | | - # #new_branch: staging |
104 | | - # default_author: github_actions |
105 | | - # message: "[skip ci] Update CHANGELOG from Github Actions" |
106 | 41 |
|
107 | 42 | update-project-stuff: |
108 | 43 | if: github.event_name == 'push' && github.ref == 'refs/heads/staging' |
|
0 commit comments